Questions tagged [ms-dos]

MS-DOS was the most popular operating system for desktop PCs until the mid-1990s. Do not use this tag for questions about Windows command line programs or scripts.

Filter by
Sorted by
Tagged with
0
votes
0answers
41 views

Formatting USB drive for a MS DOS drive

My USB drive works when I format it with my floppy emulator. But when I format it to FAT16 with diskpart I get an error when I start up MS-DOS and the drive isn't usable. I've tried partitions below ...
0
votes
1answer
29 views

Print to file from DOS 16-bit app

I have a legacy app which uses IPX/SP for networking and is a 16-bit DOS application. No access to source code, cannot change anything. The only way I can run it is under Windows XP. Trying to ...
0
votes
1answer
37 views

How do I make a bootable USB flash drive from a floppy disk image, and still make use of the full 32 GB?

When I format the flash drive with a image of MS-DOS and Windows 1.01, which is 1.44 MB, in Rufus 2.18 portable, the USB drive shows as 1.44 MB to match the floppy disk image. I am planning to add ...
0
votes
1answer
64 views

Freespace in CMD command

This command is amazing and just what I need. Thank you to who have written it. I made a bat file that shows all PC details on one screen.... So when I use this command in my bat file it keeps closing....
0
votes
0answers
41 views

How to transfer files from host to DOS QEMU C drive?

I downloaded MS-DOS 6.22 and I installed it on my qemu. Now I want to transfer files from host to my DOS QEMU C drive. Edit: My host operating system is 64-bit Linux (Debian).
0
votes
0answers
27 views

Is there any way to make conemu in windows cut off the left and right sides of the screen and stay in the centre?

I would really like to use an old-style text-based editor like vim in fullscreen using conemu, a bit like what GRRM uses to write his books. However modern monitors are just too wide for this to be ...
1
vote
1answer
54 views

How do I download the RSS Feed XML file in dos command batch mode?

I have a specific requirement that I need to download the RSS feed file (it is in XML format) from the given link using dos command. I have tried the following command and it keeps giving me syntax ...
0
votes
1answer
40 views

convert character set (German)

I have a text file that uses various characters in the 128+ range in currently non-standard ways. The file command just says Non-ISO extended-ASCII. From the context I can recognise these: Octal 201: ...
0
votes
1answer
28 views

Corrupted Files Delete in Windows [duplicate]

I am preparing a file using shell script and while doing some tests, I added the pause> nul line into my sh file. Then I ran the sh file, but there was a file named nul on the desktop and I can't ...
0
votes
0answers
61 views

What is this for a file name encoding and how to fix it?

On my Linux machine I found old files (at least from 2004 if not older), so possibly Win9x days. Maybe they came over some old FAT drive on my disk or some old Samba share. Umlaute are very weirdly ...
0
votes
0answers
16 views

windows: DOS: how to get prev directory path

In python i can get the current directory of the file using filepath = os.path.abspath(__file__) directory = os.path.dirname(filepath) and now the previous directory to the file prev_dir = os.path....
0
votes
0answers
33 views

Is copy /b reliable for joining mp4 files?

I tried to do so sometimes it works, sometimes I can only see first part though size file has increased.
-1
votes
2answers
43 views

can i connect a Floppy Drive to USB Adapter / copy data, can i emulate a floppy drive and rip?

can i connect a 1.44MB 3.5" Floppy Drive Connector 34 PIN 34P to USB Adapter to somethign and copy the data, *(rather than connecting a floppy drive and copying to floopy and then transferign it ...
1
vote
2answers
118 views

How to read files name last character and and rename them by running a batch file

I have 3 files in a folder which are: XXX_a.txt XXX_b.txt XXX_c.txt The filename can be varied, only the last character of the 3 files a, b and c are not changed I need to rename the files as below: ...
0
votes
0answers
127 views

Clone img file to ssd in dos/freedos (whole disk including mbr/parttable)

I have a bootable freedos usb stick. On this bootable usb stick I have a 450MB harddrive image file. The image file are created with the "dd" command on a whole harddrive- so its a raw hdd-...
1
vote
2answers
2k views

How to use WMI to query IP address from specific NIC?

I have a computer with two NICs. I'm trying to query the IP address of each NIC separately to use in BGInfo. This article describes how to query the IP address of only active network interfaces. It ...
0
votes
5answers
53 views

run an old program under Win10 64 bits with parameters

I need to run in compatibility mode 2 programs for MsDos: quick basic (QBX.exe); some program called HEOB which was created in quick basic (HEOB.BAS). Normally I would create a *.bat program ...
3
votes
2answers
290 views

batch file put if inside for loop error

I have a working for loop to print all zip file's name under one working directory: @echo off setlocal for %%i in (*.zip) do ( echo %%i ) I have another working if block to check and print ...
0
votes
0answers
46 views

Persistent status of A20 line on Microsoft Virtual PC

I'm using Microsoft Virtual PC 2007 (a.k.a. VPC 2007) to run MS-DOS guests each provisioned with exactly 16MB of RAM. The hardware assisted virtualization option has also been disabled in VPC, for a ...
1
vote
2answers
118 views

Running file from batch file

I am working in Windows 10. This is my code saved in .bat file: %windir%\System32\cmd.exe "/K" C:\Users\Alex\AppData\Local\Continuum\anaconda3\Scripts\activate.bat C:\Users\Alex\AppData\Local\...
1
vote
1answer
2k views

Eject connected external hard drive using cmd

Is there any way to eject external hard drive safely which is currently connected to the pc only using cmd? I can only use cmd right now and GUI is out the question.
0
votes
0answers
29 views

Set an environmental variable with the date on year in the future

I can run this command on my Mac: exp=$(date -v+8760H +"%Y-%m-%dT%H:%M:%SZ") I then run: echo $exp and it produces the desired result i.e. 2021-04-20T09:06:44Z I then modified the command to run it ...
0
votes
1answer
53 views

is it possible to install stuff to dosbox

I legally downloaded an ISO of space hulk and a copy of dosbox 0.74-3. I mounted the ISO, opened it up in dos and then in an attempt to play it, I tried to install it. The whole thing just freezes ...
1
vote
0answers
15 views

To replace a string line with a new string after certain line

original file containing ;group 1 -epackage ....... ;group2 -epackage ....... After replaced, it should looks like this ;group 1 -epackage ....... ;group2 ;-epackage Basically what I want is to ...
1
vote
1answer
29 views

How to formally denote dos/windows prompt?

How to formally denote DOS/windows prompt? All kinds of *nixes use $ (# for root/admin) as shell prompt and what about DOS/windows? Is there any formal way to denote prompt in "DOS environment"? I ...
1
vote
1answer
50 views

How do I keep track of file changes when the DOSBox command “edit.com” is used?

I would like to get notified when any file gets modified or created by the program "edit.com" within DOSBox. (Should I create another command which will stay alive until edit.com is exited?) How can ...
0
votes
0answers
157 views

QEMU DOS VGA seeting to make Quake demo working in 640x480?

I tried setup MS-DOS 7.1 machine with QEMU 4.2 on Windows 10 1909, but i have problem to make Quake1 demo 1.06 working in 640x480, because of QEMU VGA settings. In 320x200 its working fine. I tried: -...
0
votes
1answer
73 views

Replace semicolon in @ftime (forfile function) to use in a file name

As you know you can use the function forfile: forfiles /M "fileA" /C "cmd /c copy @path C:\Documents\archives\@fname_ @fdate" I'm trying to use @ftime, but it contains : which I want to replace with ...
1
vote
1answer
297 views

vt-x error setting up vb. cant change settings

im trying to set up a virtual machine of dos using oracle on windows 10. using all default settings (32mb of ram, virtual hard disk with 500mb, hard disk file type = vdi... ) specific version of ...
0
votes
0answers
56 views

How to avoid future locks in MS-DOS

I'm running a legacy application in MS-DOS 6.22, which writes and reads some files in a folder. This folder is shared in my LAN and I'm trying to read these files, but I can't because these files are ...
0
votes
0answers
16 views

Delete Files Based on extension, does not contain, and age

I'm using the following post with great success on deleting files by extension except those containing keep$ in the name: How to delete all files that don't have a certain string in their name ...
1
vote
0answers
130 views

Share data between host and guest with QEMU

I have a Centos7 host on wich i emulate a Concurrent-DOS guest with QEMU, and i have to share data between the two environnements. I am actually using FTP to send file to and from each other, but it ...
1
vote
3answers
760 views

Why and How is Autoexec.bat replaced in later iterations of Windows OS?

I was reading about architecture of MS-DOS and came across files like Autoexec.bat and config.sys. Autoexec.bat a batch (.bat) file, which contained commands that were used to initialize paths, ...
0
votes
1answer
402 views

How to start Notepad++ from a Windows 10 batch file?

When I Google this, I get pages about running Notepad++ from the command line, running batch files from Notepad++, and pages that start by explaining how I set my path variable. I am not allowed to ...
2
votes
2answers
355 views

Why does `%errorlevel%` expand to empty string in DOSBox?

Trying to automate some DOSBox scripting for an old program, I wanted to use the exit code usually in errorlevel to control the program flow. The input is given in a hello_db.bat file: @echo off set ...
0
votes
1answer
58 views

Why does WinSCP use a .com binary for the CLI version and an .exe binary for the GUI?

I thought .com is an ancient form for executable, leftover from early MS-DOS days? Why do they use that today in WinSCP? And why only for the CLI version? I tried asking this in their chat room, but ...
0
votes
1answer
40 views

Can't delete folder : 'The path is too long' error [duplicate]

I'm trying to delete an entire folder in an external drive with the rd command, but i'm receiving the error below : The path E:\2017_11_10\WWW201~1\myproject\NODE_M~1\GRUNT-~4\NODE_M~1\imagemin\...
1
vote
0answers
8 views

How to enter the `Virtual-CD/DVD` in MaxDOS?

In the iDRAC you see I have loaded the Samsung_SSD_...iso in the Virtual-CD/DVD: but in the MaxDOS, how can I enter the Samsung_SSD...iso for check the content? you see the snapshot, I don't know ...
1
vote
0answers
183 views

How to boot and read a Windows 9X BootCD from a 2TB SCSI/NVME SSD?

Edit: First I want to apologize that I thought it was SCSI, that's what the Device manager details told me. I tried to boot both a Windows 98 SE and a (patched) Windows ME Boot Disk equipped SSD and ...
0
votes
1answer
135 views

What is “2>” for in DOS / Windows console? (cmd.exe)

I've seen the following line in a .cmd file: ren fileA fileB 2> nul I know what ">nul" is for (to prevent any output from appearing), but what is "2> nul" for?
0
votes
0answers
262 views

How to format a 2TB SSD to be Win98/DOS bootable in Windows 10 without FORMAT.COM/DISKPART

I have a formatted a 2 terabyte SSD with a program explicitly called "fat32 format", set it active, I put the files of a Win98 bootCD on it, but it failed booting with a black screen and a blinking ...
0
votes
2answers
337 views

How to get Win 9X OEMSetup working from same C:\ USB stick as the Boot Disk

I got Windows ME Boot Disk to run on a USB-Stick just like Win98 Boot Disk can by using a hex editor and changing 2 hex values from 75 to EB because WinME BOOTCD DOS'ability to install on hard-drive's ...
0
votes
1answer
95 views

How to run multiple networked applications concurrently on DOS?

For science, I am working on a Vagrant box for DOS. The virtual machine needs to support a remote command execution service, such as sshd or telnetd, so that administrators can run COMMAND.COM scripts ...
2
votes
1answer
162 views

Change the color of the prompt *in* DOS (not the color of the whole DOS Prompt window)

In DOS, there is a "prompt" command that allows you to change the text that shows up to the left of your cursor. I think the default is to just show the name of the current directory. When I'm ...
0
votes
1answer
804 views

How to open Windows .sys files? Keyboard Drivers Configuration

I'm trying to configure my keyboard drivers files on a Windows Server 2008 (Virtualbox), in order to understand how it is made. Why? To solve this problem : How to enable Alt Gr or Alt keys on a ...
0
votes
1answer
54 views

How to go to another network or host in Windows Command Line

Example, I have network 3 host namely RJMB , SOBRANG , GWAPO currently I am in the host RJ.. What is the specific command to go to another host?
2
votes
1answer
10k views

Running 16-bit app on 64-bit is now possible? NTVDMx64

The program comes from Leecher1337, who created a NTVDM for x64 bit. http://www.columbia.edu/~em36/ntvdmx64.html https://github.com/leecher1337/ntvdmx64 I've tested on many Windows via VirtualBox, ...
0
votes
2answers
1k views

How to turn HDD into DOS bootable device to run a particular utility?

HDD Specifications: Toshiba MK5065GSXF | HDD2L13 | P TN01 T | 500 GB Problem: I would like to make this HDD into a bootable device with clnpwd utility on it that I will connect as one and only ...
1
vote
1answer
248 views

How to erase the partition table in MS-DOS?

Is there any way to erase the partition table in MS-DOS? I've tried looking at the fdisk command, but that is an interactive interface. I want a single command that does not show any output and doesn'...
0
votes
1answer
97 views

CMD command to write few characters at the beginning of a video file

I have a video file, saying a mp4 file, I want to add few characters at the beginning of the file making the file cannot be played. how can I do this on Windows 7? EDIT: how about commands in Linux, ...

1
2 3 4 5
7