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:
@ECHO OFF
SET TEMP=C:\TEMP
PATH C:\DOS
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.
I also recommend that you include this line at the end:
DOSKEY /INSERT
Among other things this will allow you to easily recall (by using the up and
down arrow keys) and modify previously issued commands.