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

0
votes
0answers
22 views

Autorun a bat file after a predefined inactive period

Is there a way to auto run the following command after a predefined inactive time? manage-bde -lock G: This DOS command activates the bit lock on windows on a removable G drive. I want preferably ...
0
votes
1answer
30 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
38 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
31 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
40 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 ...
-2
votes
0answers
69 views

How to make a bootable MS-DOS 6.22 iso from existing installation?

I am making a operating system project, and i use MS-DOS to make a setup for it. I am making it in a VirtualBOX VM. So, i completed the project, tested it, and i wanted to make a bootable iso for it ...
0
votes
1answer
19 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
22 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
31 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
8 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
49 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
22 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
61 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
55 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
62 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
29 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
66 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
22 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
230 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
52 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
66 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
59 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
21 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
81 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
45 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
44 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
24 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
275 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
131 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 ...
1
vote
1answer
134 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
55 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
37 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
64 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
88 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
145 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
42 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
261 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: ...
0
votes
1answer
266 views

Network printing in FreeDOS (VirtualBox) to a Shared Windows Printer?

I have a scenario with a printer on a Windows 8 machine that needs to be shared to a FreeDOS instance that is running on same said machine via VirtualBox. Initially I'd hoped that there was a printer ...
2
votes
0answers
646 views

How to create a bootable HDD DOS partition [closed]

There is a desktop with Windows7 that has no CD-ROM. The FAT32 partition was created with 100Mb (Megabytes) of space. When computer starts, I would like to be able to boot in MS-DOS or so (no Windows, ...
2
votes
2answers
3k views

findstr DOS Command's multiple string argument

findstr /v "black" File1.txt Above DOS command will display content of 'File1.txt' which are not matching string "black". How to modify this command , if I need to filter words "black" and "white" ...
1
vote
2answers
380 views

Can I make a DOSBox like, in Virtual Box

My idea is make a DOSBox like with virtualbox and FreeDOS (or MS-DOS). Is it possible? Only need install DOS in virtual box, or need something else? Can FreeDOS have a GUI for open, per example, ...
0
votes
0answers
14 views

how to run kill command in windows from batch file without Right-Click selection [duplicate]

I am trying to embed a DOS command in my tomcat batch file. the command is `taskkill /f /im java.exe I want to embed this into tomcat's shutdown batch file. Without right-clicking and running the ...
0
votes
1answer
99 views

Appending an extension to a new file created with xcopy

I've been having problems with xcopy in the past few days, and I'd like to stop ripping out my hair. In my DOS class, a portion of an assignment requires a file to be copied (with xcopy), and the new ...
0
votes
1answer
69 views

Is it possible to filter attribute of dos command output?

Below is output of this command netsh interface ipv4 show interface ...
0
votes
1answer
213 views

Remove timestamp from filename

I need to rename files generated automatically, truncating a timestamp at the end. Files are named "abcd_efgh_jklm_21.04.2015.csv", with the numbers being today's date in german culture spelling and ...
0
votes
1answer
71 views

MS DOS: how to unattendedly write specific byte on specific address on HDD, e.g.: write(000F3,FF) [closed]

How can I perform direct, low level writing to the hard drive under MS DOS in an unattended way? Specifically, I need to write to bytes on the MBR, but at the byte level, so FDISK, RPM, etc. won't do. ...
0
votes
1answer
374 views

how to run DOSBox in command line without opening it in a new window

how to run DOSBox using the default windows command line, (without opening it in a new window), editing the source code of DOSBox is a solution, but i want to know if there is no other solution before ...
0
votes
1answer
37 views

Create windows sybmolic link shortcut

Can a Windows synonym shortcut be created so that the location "/home/" maps to "c:\" drive ? Another way, if I navigate via DOS to "/home/" then "c:/" drive is navigation target. Note : I'm not ...
0
votes
0answers
38 views

Can I stretch a Remote Desktop session to fill up the entire screen?

I have MS DOS 6.2 installed on a virtual box. Within the virtual box settings I have Remote Desktop enabled as a display output. The host machine is running Linux Mint 17. I access the DOS machine ...