Explore MS-DOS on Experts Exchange

Expert Solutions for Your Tech Problems

MS-DOSMicrosoft DOS

Microsoft Disk Operating System (MS-DOS) was an operating system for x86-based personal computers, and traces of it are still found in the Windows ...

Read more
  • 13K Content
  • 6.0K Contributors

Troubleshooting Solution

Command not working on batch file

Hi Experts,

I am trying to run this command on a batch file but it doesn't execute (running as …
Mouse Trap

Advanced DOS batch pitfalls

The following is a collection of cases for strange behaviour when using advanced techniques …

DOS: ECHO text to previous line - by Paul Tomasi

One of my most closely kept secrets is revealed in this discussion

How to output text on the
Troubleshooting Solution

Output directory of parent folders and subfolders of a network drive


Hello- I am requesting assistance with generating a directory listing of parent folders and

Advice Solution

Need DOS Script to move files in directories to the base directory and rename the files based on the directory name.


I have a Toshiba MFP that we scan documents sets as pdf's to a windows share.  A scanned document

Troubleshooting Solution

In Windows 10, how do I automate multiple file creation based on contents of a file (plus an extension I will specify)


I have a text file with the following entries:

I am looking for a free utility or built-in

Troubleshooting Solution

Batch file to copy folders/files with very long paths (how to automatically reduce path lengths?)


I created a batch file to synchronize the multiple "\packaged" folders in multiple directories


Troubleshooting Solution

How to read data from an old DOS HDD

My client asked me to get the programs and data from an old PC.   Its an old 386/486 that defines …
Troubleshooting Solution

Auto file move and rename

Hi guys

Heres my situation:

I have a folder which every few ecs to minutes a file is created …
Troubleshooting Solution

How to copu batch file to a network location

I have a table with these fields

document_id, document_source_patch, document_destination …

Using dates in batch files / scripts


See my pages here: http://scripts.dragon-it.co.uk/ for more batch, VBScript, HTA etc.

Using dates

Troubleshooting Solution

FindStr (Windows Command Line DOS Tool) - Failing to search a few MSG files

Hi All,

I am using FindStr (Windows Command Line / DOS) to search for a string in all files in a …
Troubleshooting Solution

Batch file not copying second file.

Hi Experts,

I have a batch file containing the following.

Where the js file downloads Schedule list …
Troubleshooting Solution

Batch Script to run deletion of several folders nightly.

Hi all,

I created a batch script and was wondering if someone could let me know if there are any …
Troubleshooting Solution

Script to display folder path and files in each folder

Is there a script that will show folder path and the files in each folder?  
Troubleshooting Solution

VB Script & Bat: backup and organize folders

Hello experts,

I have an Archive folders that contains multiple folders with the following …
Troubleshooting Solution

How do I delete files from a folder by month using Powershell or CMD?

I have a folder with millions of files in it. How can I delete files from that folder month by month …
Troubleshooting Solution

How can I copy files from one drive to another using IF THEN ELSE or IF exists


I am trying to make and IF then else statement in my dos batch file, is that possible? My …
Troubleshooting Solution

how to do xcopy only the most recent file

I have the following Windows script, I want to only xcopy the most recent file - just one file every…
Research Solution

Buying a branded computer vs custom; using DOSBOX with 64 bit

In 2020, I started trying to buy a new desktop to run W10. I have always gotten custom-built …

Do more with Experts Exchange.

Get Answers

Join a Group Discussion


Monitor your Site

Explore solutions and more