Chapter
12.
Running DOS
Commands Automatically
As you learn more about using your PC sessions,
you will discover "batch" files. These are special
DOS files that let you write your own DOS
commands. DOS has a batch file of its own that
runs every time you turn on your system unit.
You can use this file to do some things
automatically. It is called the AUTOEXEC.BAT
file. We will show you how to add commands to
this file to automatically:
•
Restore changes to your windows or screens
•
RE:store notes in your notepad sessions
•
Restore keystroke recordings.
We show you how to add the INDRSTR command
to the DOS batch file so you will not have to use
them after you turn on your system unit. The
AUTOEXEC.BAT file will run these commands
for you.
Adding the INDRSTR Command
to the AUTOEXEC.BAT File
1. Jump to a PC window that has DOS.
2. Make sure that your default drive contains
your control program.
Chapter 12. Running DOS Commands Automatically
12-1