Epson 386SX User Manual

Page 138

Advertising
background image

You can also use the MS-DOS COPY or EDLIN command to

create an AUTOEXEC.BAT file. Follow these steps to create

an AUTOEXEC.BAT file with the COPY command:

1. If you are creating an AUTOEXEC.BAT file on your hard

disk, log onto the root directory of your hard disk. (Type

CD C

: \ and press

Enter.)

If you are creating an AUTOEXEC.BAT file on your

Startup diskette, insert the Startup diskette into drive A

and log onto that drive.

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. This drive must be
the drive from which your computer loads MS-DOS. For
example, if you load MS-DOS from drive C, type the
following and press

Enter:

COPY CON: C:\AUTOEXEC.BAT

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 MS-DOS 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 line.

4. 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 more information.

4-42

Using MS-DOS with Your Equity 386SX

Advertising