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

1
vote
1answer
18 views

Copy files to different location created one hour Ago [duplicate]

I want to create one batch file to copy files from one location to another which are created one hour Ago. I tried to use xcopy /d but it does not accept time. Can you please suggest. thanks.
1
vote
0answers
26 views

How do you create a bootable ISO of MS DOS with networking?

I need to create an MS DOS ISO with support for networking features. I know you can create a bootable USB stick, but how do I create an ISO? I know that you can get boot disks for different variants ...
-2
votes
1answer
22 views

DOS command-line query returns too many results

Can anyone tell me why dir *.asp returns all .asp files but also all .aspx files? It seems dir ignores extensions longer than three. This is really bugging.
0
votes
0answers
18 views

How can I paste the copied file in working directory using cmd?

I want to paste a copied file to current working directory using cmd. like cmd> paste filename not like cmd> copy source destination Can this be done?
0
votes
1answer
24 views

Can't open ms-dos on Windows 8? [closed]

So on Windows XP or 7, I can make a shortcut called "command.com" on the desktop, and when opened, it opens a box almost identical to command prompt that is titled "MS-DOS". This feature doesn't work ...
0
votes
0answers
27 views

What is this application build in

I got one exe ( TAS ) and many other files with .RUN, .K, .M Extensions what are those extensions. Is this application build using Foxpro ( which i dont think so ), VC++, C++ or Any dos based ...
0
votes
3answers
46 views

Cannot change directory with cd in DOS using Win7

I would like to change my Present Working Directory in DOS (I am running Win7 professionnal). When I perform a cd D:\, nothing happens: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 ...
0
votes
0answers
24 views

Windows Script Host

My batch file runs on my PC, but when I run it on the server, it calls the Windows Script Host (WSH) which seems to hang the process. There are no settings for the WSH. when I kill the WSH my batch ...
0
votes
3answers
128 views

What is the MSDOS command line to check folder size?

I want to use the MSDOS command line to calculate the size of all the files in a folder and sub folder. I would normally do this by right clicking on the folder and clicking "Properties" but I want to ...
1
vote
1answer
80 views

Can a computer that uses EFI/UEFI rather than BIOS run a real mode OS?

Title says it all: could I get away with installing a real mode OS such as MS-DOS on a EFI-based computer? I understand that EFI-based computers still use "BIOS emulation" for compatibility reasons, ...
-1
votes
1answer
69 views

What is the differences between MS DOS & Powershell in Windows? [closed]

What makes them differ from each other? I was just experimenting with MS DOS, and then found Powershell. Can't figure out why Microsoft gave them.
0
votes
0answers
29 views

Virtual PC running MS-DOS 6.22 cannot boot SEAL GUI

I just don't understand this. I just don't know why SEAL doesn't work... :( Here is the error:
2
votes
1answer
81 views

Backing up and Restoring DOS era backups

I have backup files that were made in DOS. They contain many hundreds of hours of work, and unfortunately they're locked away in a format that cannot be opened by anything in the format they are now. ...
1
vote
1answer
81 views

DOS command to remove file_001.* copies, but only if file.* exists

Didn't find the answer, hope it has not already been answered here. I have a tree of directories containing files and sometime a copy at the same location. This copy is identified by some string, ...
0
votes
1answer
145 views

Batch file XCOPY cannot find existing directory

I'm writing a small batch file to copy my C# project to another drive. I'm using XCOPY to copy an entire folder (We have some XP machines still, so robocopy isn't an option). However, when I run the ...
-1
votes
1answer
57 views

How are .exe files managed in windows? [closed]

I have a project I am currently working on that involves trying to add MS-DOS functionality to Android 4.1.2 KitKat, also allowing .exe files to be executed. I only have one problem: I cannot seem to ...
0
votes
1answer
58 views

How do you copy files using a command line when you the file has four or less characters in the filename?

trying to copy files with four or less characters in the file name with a certain extension to a new folder. I tried to do this for several hours now! getting frustrated. I used the copy command and ...
4
votes
2answers
81 views

How to show refresh rate of monitor in MS-DOS Version 6.22

I was forwarded from Stackoverflow to ask this question here. I am running a psych experiment on an old MS-DOS computer. When I ran the experiment on a different computer that is split via a switch ...
-2
votes
1answer
49 views

Larger MS-DOS Img file?

I am making an operating system based on ms-dos and using a program called win image to edit an ms-dos .img file, the program only lets me inject at total size of 2.88mb worth of files and i would ...
4
votes
1answer
372 views

Install a CD-ROM driver on MS-DOS

I have an old MS-DOS computer that I am experimenting with. The computer has an AMD 80386 processor, 1664 KB of RAM, a 50 MB hard drive, and two floppy disk drives: one 3 1/2 inch, the other 5 1/4 ...
1
vote
1answer
128 views

Install C++ compiler on old MS-DOS computer with floppies

I have an old MS-DOS computer that I am experimenting with. The computer has an AMD 80386 processor, 1664 KB of RAM, a 50 MB hard drive, and two floppy disk drives: one 3 1/2 inch, the other 5 1/4 ...
0
votes
1answer
157 views

Installing Ye Olde DOOM on DOS with Ye Olde Floppy Discs

I'm trying to install DOOM (the shareware version) on my old Compaq running Windows 3.11. I've got the files deice.exe dooms_19.1 dooms_19.2 dooms_19.dat install.bat all downloaded and I have a ...
1
vote
1answer
55 views

copy /a, copy /b - use of this options

On Microsof Windows Server 2008 (R1), 32-Bit, I have some trouble understanding the use of as well as the difference between copy /a and copy /b The Technet Article on copy doesn't help me much: ...
0
votes
3answers
51 views

How to add file extension to the files which do not have an extension in a specific folder using Windows command prompt?

I have folder (say c:\folder) in which many files reside. All of them are HTML documents. But some of them have not .html extension. I want to add them .html file extension using command prompt at ...
4
votes
2answers
424 views

DOS Copy command to multiple folders

I want to copy a file from one folder to another folder which has many sub-folders. Using MS-DOS command, how can I copy this file to all sub-folders. Can any one please help me on this? Eg. I have a ...
0
votes
1answer
18 views

Check if an user has given as an input 1 or more then 1 in an batch file

I am having an question with an Batch file Is it possible to let an user choose how many files it will enter? For example set /p count=Enter the number of files you are willing to set: IF %count% ...
1
vote
0answers
123 views

How can I share MS-DOS application between two computers?

With remote desktop applications like Teamviewer, logmein, vnc, etc... I can share my desktop and specific applications / windows to the other PC that I have, but my problem is that I have an old ...
0
votes
1answer
568 views

Fix MS-DOS MBR Without DOS Boot Disk

How can I restore the MBR for MS-DOS without having an MS-DOS boot disk or floppy drive. Ideally, I would like to be able to do this from a Windows 7 Win PE disk. The only solutions I've found online ...
0
votes
1answer
98 views

The echo command on windows CMD ask me if I want more

I was trying to echo something in the Windows command prompt (cmd.exe), I entered the following input : echo ^.^ And noticed that every time I'm passing a string which finish with a "^", it will ...
0
votes
2answers
293 views

Copying files that match one pattern but not another

I have a number of files that follow a pattern like this: <BaseName> . <Version> [ - <Tag> - <#> ] . <Extension> For example: basename.1.0.0.ext ...
0
votes
0answers
44 views

How do I make a bootable DOS USB without format?

I had previously made my USB DOS bootable (I think I used the MS DOS version that came with Windows XP) Later on I converted in to a Puppy Linux Live USB The DOS files are still there on the drive, ...
1
vote
0answers
85 views

How to Installthe newly released MS DOS OS on a Virtual Machine

Since Microsoft have released the source of 2 old versions of MSDOS for free, I downloaded the ZIP, converted the contents of the v20object folder to an ISO, created a new virtual machine with ...
7
votes
2answers
708 views

How to list hardware in DOS?

I have a PC running MS-DOS (i.e. no Windows). How can I retrieve a list of all hardware present on the PC? Something like Everest for Windows, or something simpler, like lspci from Linux.
-1
votes
2answers
57 views

Overwrite every file from a folder ( in Windows )

Is there any chance to overwrite all the files that are in a folder? Eg. In folder d:/data I have different files with different extensions ( .mp3, .txt etc ) What I am trying is to do is to ...
2
votes
3answers
237 views

How to install a bit modern HDD in 286?

I have a 286 type notebook from mid '80, and it's HDD went dead. I wanted to change that drive to a 6,4GB with a trick - creating and formatting 40MB partition, but when I tried to boot up system ...
1
vote
1answer
252 views

Conversion of delimited .Txt file into Excel file [duplicate]

I have a delimited .Txt file containing several fields (separated by spaces) and I want to know how can I copy the entire thing into the MS Excel using any script (JS/VB/DOS Command) which can be ...
2
votes
2answers
1k views

Use Batch findstr for files with whitespaces

I'm trying to search for a string in a given file. This file can have whitespaces in its name and I'm having trouble with the Batch file. I can easily do this by console getting the correct results: ...
1
vote
2answers
364 views

Virtualize an old MS-DOS machine to VMWare

There is a very old workstation at a power plant running an MS-DOS system based HMI, I need to recover this and I believe the best way is to create a virtual machine from the old physical machine. ...
0
votes
0answers
674 views

Why do I get an internal stack overflow error when minimizing and restoring an MS-DOS virtual machine window?

I am using Windows Virtual PC on a Windows 7 machine. I have created an MS-DOS 6.22 virtual machine with 16 MB RAM and a 2 GB hard disk. Whenever I minimize or otherwise deactivate the window, and ...
3
votes
2answers
96 views

On my old DOS computer I need to run a specific game first otherwise some games won't run

But why is that? It still seems to me almost like magic. The computer is Amstrad PC2086/30, and the game that I have to run first is either The Cycles: International Grand Prix Racing or Grand Prix ...
0
votes
0answers
99 views

Need PowerShell or BAT to delete PST if over certain size for GPO

I'm trying to delete "Internet Calendar Subscriptions.pst" from %LOCALAPPDATA%\Microsoft\Outlook using a BAT file. I can do this fine. But how do I delete only if it is over a certain size? When end ...
3
votes
1answer
253 views

BSD fortune for Windows command prompt or DOS

This is probably a stupid question, but I was just wondering if the following is doable: If I should just forget about it and go the VM/ full GNU-Linux OS route, that's fine.After mucking about with ...
3
votes
1answer
105 views

What does ComSpec mean?

Merely curious about the etymology of the Windows environment variable %COMSPEC%. I understand it (usually) points to cmd.exe. The best I could find online is Command Specifier, which sounds ...
0
votes
1answer
67 views

How to create a windows cmd script to rename files

I have a bunch of files named YYYYDDMM_prep888 and I want to rename them to YYYYMMDD_prep888, just exchanging DD for MM. I'd appreciate some help. Thanks.
1
vote
0answers
177 views

How can I break a password in old dos program? [closed]

unfortunately I must use some old dos program that has a password inside. I am pretty sure that it is easy password so I can use brute force method. I need some tips how to use any external program to ...
0
votes
0answers
64 views

Insufficient rights to copy via Windows Explorer but can copy via DOS

My work laptop was just upgraded from XP to Windows 7. While I used t be the Admin of my old machine, I only have "Elevated Rights" on the Win 7 one. as a result, I canot use Windows Explorer to copy ...
0
votes
0answers
129 views

Batch file to read a text file with folder and file names and write to another file the ones that do not exist

I have a file of approx 30,000 folder/file names that I need to confirm if each one exists. If a file does not exist, I want to write the full path and file name to an "error.txt" file. Can anyone ...
2
votes
1answer
2k views

Shortcut to MS-DOS Program (.PIF)

How can I change icon for a Shortcut to MS-DOS Program (.PIF) file ? I've tryed to right click then properties then Program then Change Icon then I chosed my .ico file and nothing change. I reproduce ...
1
vote
1answer
357 views

Add MS-DOS boot option to Windows 2000

I've got an old laptop that is running Windows 2000 & Windows 98 in a multi-boot configuration. I need to add MS-DOS to that list of startup options. I've already added a primary partition, ...
3
votes
3answers
414 views

How to reinstall OEM Windows 98 SE on an old Toshiba desktop?

I'm trying to install Windows 98 SE on an old Toshiba desktop PC and it's not going well. Toshiba stopped producing desktops around the year 2000. This model is from around 1999/2000, and it's called ...