In the beginning of this guide to MS-DOS, I mentioned the operating systems that ruled before MS-DOS came around. In many ways, most of those operating systems were superior to MS-DOS. The main advantage of MS-DOS is that it is so widely used and a little easier than others.

The benefit of the other operating systems was that you could make a "program" simply by making a text file that was a list of commands. Certain of those operating systems used the same languages that have been made into programming environments on today's computers, such as BASIC.

Unfortunately, MS-DOS doesn't have that luxury. Or does it?

It does. It's called Batch.

To make a batch file, just make a list of MS-DOS commands as a text file and save it with the .bat extension. Then run it just like an executable!

The benefits of batch are limitless: make an installer for a game, back up all your stuff at once, or go to the right current directory and open a game all at once.

 

Proceed:   <-- Customizing the Prompt     --> Autoexec.bat
 

Back to the Hub