Fox Y2K Logo
The DOS Zone - FAQs


The DOS Zone

FAT System Guide

My Software


What should be in my AUTOEXEC.BAT file?


Please view my Notices page before viewing this area, it is not complete!
This is work in progress.


This is just a basic list of some of the things that you should have in your AUTOEXEC.BAT, you may require more depending on your system.

These lines should appear at the beginning of your AUTOEXEC.BAT file:
Note that you should create a directory called TEMP so that C:\TEMP exists. Also if your DOS directory is not DOS, change the PATH line appropriately.

If you need to change your keyboard layout, you should add KEYB XX as shown in How do I change the keyboard layout?

If you have a Sound Blaster compatible sound card you should set the BLASTER variable, see How do I set up a soundcard?

If you need a mouse then the driver it is best loaded from here rather than command line, refer to How do I set up a mouse?

If you have a CD-ROM or DVD-ROM then you should probably run MSCDEX or equivalent here, see How do I access the CD-ROM? for details of doing this.

If you wish to change the display mode or keyboard typematic rate then the mode command is best placed here. For details refer to:
How do I change the display mode?
How can I change the typematic rate?

I also recommend that you include this line at the end:
Among other things this will allow you to easily recall (by using the up and down arrow keys) and modify previously issued commands.


Trawled this site and still can't find the solution to your problem?
If so I highly recommend The DOS Board.
It has several good techies waiting to answer your questions and I hang around there a lot too.

Copyright © Jonathan Fox 2000-2002.