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.

learn more… | top users | synonyms

18
votes
3answers
3k views

How to install MSDOS from floppy to harddrive?

I have a bootable MSDos system. I would like to install it on the current PC so that I can boot from HDD instead of Floppy. How can I do that? I am doing this in virtualbox, but a general solution ...
0
votes
0answers
9 views

Transfer variable to virtual machine with VirtualBox

I intend to run a number of identical machines in VirtualBox (potentially a quite large amount). To simplify maintenance I want them to use the same boot disk and mount the same network share. The ...
-1
votes
0answers
20 views

How do I compress an “echo” command in batch to a paragraph?

I am using a batch script that takes a random line from a text file, sets it as a variable, and then echos it, the problem here is that some lines are too big, and go off of the screen.
0
votes
0answers
11 views

Convert volume paths to MS-DOS drive names

I've registered for a callback which returns path to a file in this format: \device\harddiskvolume2\windows\system32\... How can I convert it to a more readable and informative format like: ...
0
votes
0answers
36 views

How do I install MS-DOS6.22.exe in a Virtual Machine

I downloaded a version of MS-DOS 6.22 from Microsoft's DreamSpark website to run inside a virtual machine but found that the file is a EXE and not format the VM will except. I tried to format it into ...
0
votes
1answer
32 views

my command prompt defaulting to H drive and not changing to C drive

When i open my command prompt it defaults to my H drive and when i use cd /c: its not changing to the C drive. Please need help I have tried the following commands regsvr32 /u msolap.dll Thanks
3
votes
2answers
61 views

Is it possible to print from a DOS application to google cloud printer?

My friend is using an old, custom-developed, DOS application to print data (he's using an old parallel printer) I was able to connect his office to google cloud print, but this DOS application is ...
0
votes
1answer
24 views

¿BUG? can not create file with '=' via command line ECHO and COPY CON

WHERE is the documentation that explains the apparently anomalous behaviour of the equal sign below? STEPS TO REPRODUCE (at a command prompt): example with ECHO: H:\BUGS>echo abc > a-b.txt ...
0
votes
1answer
27 views

Can i use DOS 6.22 as guest OS in Visual Studio VMWare Live Debugging mode.?

I am using Windows 7 32 bit OS as host OS, using Visual studio 2010 for C++ code development purpose and installed DOS 6.22 under VMWare 10. now i want to use DOS 6.22 (Guest OS) for Live Debugging ...
0
votes
0answers
53 views

Printing over USB in FreeDOS 1.1

I was hired by a small business to upgrade their computer system and have run into a very complex issue that no one else on the internet has battled quite like I have. I'm at my wits end. If any of ...
0
votes
1answer
22 views

How to Mount Guest DOS OS with HOST OS.?

I am newbie to VM concept. actually i have installed DOS6.22 under virtualbox and using 32bit windows 7 OS as HOST Operating System, now i want to copy some folders/files from HOST OS to DOS6.22 Guest ...
0
votes
0answers
41 views

Format error on Flash Drive on Windows 8.1

Firstly I ran command prompt as an Administrator. when I am trying to format Kingston 32 GB pen drive (Flash drive) and it's getting following error. Please advise. Error DiskPart has encountered ...
1
vote
2answers
67 views

MSDOS 4.0 string manipulation?

Due to very old hardware I'm forced to run Windows 3.1 that controls the plotter. The software I'm using creates a .bat file with this line in it: SPLOT.EXE/fmyfile.uc c:\myfile.plt the /f - is a ...
0
votes
1answer
17 views

DosBox - special letters and Caps Lock

There's one problem I have with all major builds of Dosbox (Daum and Megabuild). With Caps lock enabled, I get capital letters from English alphabet, but in order to write capitals in German, French, ...
0
votes
1answer
41 views

How do I find keyloggers and other hidden biles/processes from the command line in windows 8.1? [closed]

I have noticed a great number of system "Glitches" as of late. Recently while poking around explorer, i believe in my system32 dir, i noticed that every time I entered a subdirectory and existing to ...
0
votes
1answer
41 views

How is DOS able to resume after running a real-mode flat memory model program?

Let's go back to the 70s and 80s. With a real-mode flat memory model, a program has full control of 64K of memory. This means that, after DOS launches it, the program can overwrite memory that DOS ...
0
votes
1answer
32 views

Windows cmd copy not working as I expect

I am used to using linux command line so a little unfamilar with windows dos. I am trying to add a copy file line into my script but it is not working. So I tried the same thing on the cmd promt and ...
-1
votes
2answers
43 views

Revamping old DOS games for a modern system [closed]

I have a bunch of old DOS based games I would like to run on modern windows without an emulator like DOSbox and as a stand alone program. I noticed that back then piracy wasn't as big of a problem as ...
0
votes
1answer
61 views

Getting the list of command history using Clink

I recently installed Clink and I'm quite happy with the history being kept in between session and the ability to search history using Ctrl+R / Ctrl-S. However, I would very much like to have access ...
0
votes
0answers
26 views

MS-DOS show a list of excecuted commands

I'm trying to see a list of commands which are executed in windows once I run a specific function within an application. So for example, if I was to use Ms Word to save a file, I would like to see a ...
0
votes
1answer
45 views

Scaling up an old dos game to fit my screen? win7

It is Oregon Trail 1.2 downloaded from myabandonware.com. The game works fine but the 4.3 aspect ratio of it makes for a tiny game window. It works straight out of the box on win7, so no dosbox ...
0
votes
0answers
9 views

How to run DOS commands in background with Aptech Gauss

I am using some old scripts written in the Gauss statistic language (by Aptech). I launch a bunch of dos commands (as copy, start etc) from this Gauss scripts. The problem is that I have never been ...
-3
votes
1answer
84 views

How i can make my own DOS(Disk Operating System) distribution? [closed]

So, i am making a batch file OS project in Windows, and i want to make it run under DOS. I want to make my own custom distribution of DOS that i can use as a shell of my project. I tried to find a ...
1
vote
0answers
36 views

How can I make a batch file wait a specified time between one command and the next in DOS 5.00?

How can I make my batch file pause before executing the next command? I found a few solutions, but none of them seem to work in DOS 5.00. Thanks in advance for any help. (By the way, I am using ...
-1
votes
1answer
124 views

Batch script to merge files using copy command in numerical order

Would appreciate it if anyone can help me with this request. I need a dynamic batch script which can do the below command for ANY number of files: Copy 1.txt + 2.txt + 3.txt + 4.txt newfile.txt If ...
1
vote
1answer
71 views

How to set an USB drive as a local drive using CMD?

I'm trying to hide the data on my USB drive. I've come up with the idea to hide everything in a second partition, which Windows would not recognize. Then, in the first partition, there would be a ...
0
votes
1answer
100 views

How to write protect your USB drive using MS DOS ATTRIB?

I'm trying to write protect my USB drive with a batch file. I've learnt that it is possible to do so with ATTRIB +R. The drive switches it's drive letter since it's used on multiple computers. I've ...
1
vote
0answers
32 views

Boot DOS in High Memory

I have burned a bootable disk which contains MS-DOS with the RAM drive, himem.sys. Even though, I still cannot boot it on computer with 4GB memory or more. After that, I burned a Windows 98 Live CD, ...
1
vote
3answers
79 views

How do I set a variable (by prompt) in MSDOS 7.1

In CMD, I could do Set /P ASK=REPEAT and it would prompt the user for ASK. How do I do this in MSDOS Batch Files? (No, no the ones that run on NT, but the ones that run on MSDOS.) Btw: 'Set /P' is an ...
0
votes
1answer
26 views

Adding a modification to an EXE in DOS(box)?

I am trying to make an EXE addition work in Dosbox, and with that I mean the following; I used to run an old game in XP, it worked (mostly) but now in Win 8 it doesnt anymore. So I fired up Dosbox ...
4
votes
1answer
295 views

How to make AppData directory appear in File Explorer?

This post outlines how to make the AppData directory show up at the DOS prompt, but how do I make it show up in File Explorer (on Windows 7 Home Premium 64-bit)? Is there a global setting? Also, what ...
0
votes
1answer
106 views

Where can I find samples of MS-DOS/Win9x Viruses to record/test?

Since MS-DOS and Win9x are basically oldies now, I think it's safe to ask this question. Where can I, as a YouTuber, find MS-DOS and/or Windows 95/98 viruses on the internet? I would like to record ...
0
votes
1answer
112 views

Forwarding host OS USB drives to guest as hard drive in Oracle VirtualBox

I have DOS 6.22 running in Oracle VirtualBox. Now to the question; is it possible to forward USB drives on the host OS to the guest OS (DOS) as a hard drive? So instead of using a disk image, you ...
3
votes
1answer
70 views

DOS Find duplicate files between two disk drives

I have two drives, lets say driveA (F:) and driveB (G:). I had once copied all of the contents of driveB into driveA. But after that the driveB has some new files and folders added to it. I would like ...
0
votes
0answers
24 views

Windows directory data from backed up PC is showing as a regular file

I have a backup of data that was copied from an old PC circa-2001/2002 (probably Windows 2000 or even Windows 98). I don't recall the details but I believe this data may have been xcopy'd from an ...
1
vote
2answers
109 views

How would I make a bootable USB, that runs a cmd-like environment, and all its commands?

My aim: To create standalone bootable USB drive, that can run CMD, or run something that can execute all standard Windows Commands. What I know so far: That I can use Rufus to make a bootable ...
0
votes
1answer
51 views

How can I restore my Windows system after the PC is booted into DOS from USB drive?

My PC with Windows Vista failed to boot. The screen showed that the boot device was not found. I think the boot area of the hard drive was damaged. Then I created a boot USB drive with DOS system, and ...
0
votes
1answer
61 views

Is there a similar command like COLOR in MS-DOS?

MS-DOS 6.22 is running. Who needs Windows 10? I know that upon starting there is a possibility to change the foreground and background color of the MS-DOS environment. But is this also possible when ...
0
votes
0answers
26 views

How to check if a flash drive has been unplugged?

I'm booting FreeDOS (C:\) and then use ISOLINUX to load some stuff into the RAM (A:\). DOS is then being booted and has access to the memory drive. AUTOEXEC.BAT then switches to the memory drive and ...
2
votes
3answers
499 views

How to load an ISO file into RAM and boot MS-DOS from it?

I don't have much experience in doing this, so I'm here to ask for help. My problem is: I want to load an ISO into my RAM from an USB flash drive. Included in that ISO should be a running MS-DOS ...
-2
votes
1answer
26 views

Concerning terminal pagers

more < doc.txt I understand that the above command will display the contents of the doc.txt file until it fills up the screen. I can, then, go down one line at a time with the arrow keys or keep ...
2
votes
4answers
190 views

How To Format A Disk Image To Be Recognized By MS-DOS?

I'm trying to emulate windows with bochs on my android device. I've got the following drives: an empty disk image to install windows on, a virtual vvfat drive with the setup files, and a cdrom drive ...
2
votes
1answer
217 views

How to omit characters at the beginning of a file name while renaming it in DOS?

I would like to know how to omit the first character of a file name while renaming the file in DOS. In my case I have bunch of files like: #test1.txt #test2.txt #test3.txt #test4.txt #test5.txt I ...
0
votes
1answer
68 views

Ms-dos 6.22 not letting me save a file via edit program

I can't seem to save a file from the edit command on MS-DOS I have 3 directories: A B R I am running MS-DOS from VirtualBox (Could this be affecting it?) When I attempt to save the file on the A ...
1
vote
1answer
39 views

DOS unformat memory issues

When I try to format an MSDOS 6.22 FAT16 partition (for restoration reasons, even with 3 AV installed, I get LOTS of virii), it goes about its business until UNFORMAT data is created. It says: ...
3
votes
2answers
82 views

Get the first few characters without the extension of the file in DOS

My files are AAAAAAA-01.pdf , BBBBBB-02.pdf, CCCCCCC-03.pdf I was able to generate an excel list of file name in the folder without the extension using this command below: for %%i in (*.pdf) do @echo ...
1
vote
1answer
144 views

How do I use a for loop and output to a different directory

usage: pdftotext [options] <PDF-file> [<text-file>] I'm using pdftotext (xpft, usage above) to covert all pdfs in a directory (and subdirectories) to textfiles. It doesn't matter if ...
2
votes
1answer
221 views

What files are needed for a bootable DOS floppy disk?

I just made a bootable DOS floppy disk in Windows Vista, but the files are taking too much space. I need more space to store a flash utility program and a ROM file. What files can I safely remove and ...
0
votes
1answer
49 views

How to run program in background and cater for scenario where window is closed?

To run program in background I use : START /B my.exe But when I close the command line the process ceases to run. How can run program in background from command line and continue to run if command ...
-7
votes
1answer
361 views

How to make GUI in DOS? [closed]

I want to make a GUI (Graphical User Interface) for DOS to complete my project. However, i don't know to make one. I do not want it to be text based. I want it to be a true GUI like this one: ...