Epson 20 Personal Computer User Manual


 
Here’s an example of an AUTOEXEC.BAT file:
PATH C:\; C:\DOS
PROMPT $P
The first line tells MS-DOS to look for programs or batch files in the
root directory and the DOS directory. This way you can run
programs in those directories without having to specify pathnames in
the commands.
The second line changes the MS-DOS command prompt so that it
displays your current directory.
The MS-DOS COPY command provides an easy way to create an
AUTOEXEC.BAT file. Follow these steps:
1.
If you are creating an AUTOEXEC.BAT file on the working
copy of your MS-DOS Startup disk, insert the diskette into drive
A. If you are creating an AUTOEXEC.BAT file on your hard
disk, log onto the root directory of your hard disk.
2.
At the MS-DOS command prompt, type the following and press
Enter:
COPY CON: d:\AUTOEXEC.BAT
where d: is the drive that will contain the AUTOEXEC.BAT file
you are creating.
3.
Now enter the commands you want to include in the file. Type
them exactly as you want MS-DOS to execute them, and in the
order you want to perform 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.
4.
Now press F6 and then Enter. MS-DOS copies everything you
typed to the AUTOEXEC.BAT file. From now on, MS-DOS
runs the commands in the AUTOEXEC.BAT file every time you
turn on or reset the computer.
If you need to change anything in the AUTOEXEC.BAT file later,
you can use the same procedure to modify the commands. See your
MS-DOS Reference Manual for instructions.
Using MS-DOS with Your Equity 386
5-31