If you used the SELECT command to format your hard disk (see Chapter 3), you already have an AUTOEXEC.BAT file. The AUTOEXEC.BAT file created by SELECT contains the following MS-DOS commands:
PATH C:\;C:\DOS
KEYB US 437 C:\DOS\KEYBOARD.SYS
ECHO OFF
CLS
DATE
TIME
VER
Creating an AUTOEXEC.BAT File
You can create an AUTOEXEC.BAT file with any program that lets you create a text-only file. If you have a word processing program that can save a file as a text-only file (also called an ASCII text file), you can use that program to create your AUTOEXEC.BAT file. Just be sure to name the file AUTOEXEC.BAT and store it in the root directory of the hard disk.
Another way to create an AUTOEXEC.BAT file is by using the MS-DOS COPY command. To do this, follow the instructions below:
1.At the MS-DOS C> prompt, type the following and press
Enter:
COPY CON: C:\AUTOEXEC.BAT
2.Type the commands you want to include in the file exactly as you want MS-DOS to execute them. Press Enter at the end of each line. After you type the last command, press Enter to move the cursor to the next blank line.
Using MS-DOS With Your Equity LT-286 5-29