beautypg.com

Using an autoexec.bat file – Epson 10020 User Manual

Page 102

background image

Using an AUTOEXEC.BAT File

You may find that there are some commands you want to run

every time you turn on your computer. To run a command or a
series of commands automatically upon startup, you can type

the commands in a special file called AUTOEXEC.BAT.

When you load MS-DOS, it always looks for this file. If
MS-DOS finds an AUTOEXEC.BAT file in the root directory,

it executes the commands in that file.

Here are some tasks you can perform using an
AUTOEXEC.BAT file:

Modify the PATH command to include the directories

containing other software programs you commonly use.

This reduces the number of times you need to change

directories or specify pathnames.

Add the appropriate command to start your most

commonly used application program (such as a word
processor or spreadsheet program) so that it loads
automatically when you turn on or reset the computer.

Change the MS-DOS command prompt so that it displays

the current directory-or your name, or anything you want.

The hard disk on the Apex 100\20 comes with an

AUTOEXEC.BAT file that sets a path to all the MS-DOS
commands and changes the command prompt to show the
current directory.

See your MS-DOS Reference Manual for instructions on using
the PATH command, the PROMPT command, and any other
commands you want to include in your AUTOEXEC.BAT file.
Also see the chapter on Batch processing commands in the

MS-DOS manual for detailed information on

AUTOEXEC.BAT files.

Using MS-DOS With Your Computer

3-43