Paxar Gold 6037EX Printer User Manual


 
2-12 DOS Basics
For example, you may often run a program named MY_INFO1 followed by
a program named MY_INFO2, both of which display a screen of
information. After running each of these programs, you always clear the
screen before proceeding. Your normal keystroke sequence is:
MY_INFO1
CLS
MY_INFO2
CLS
You could create a batch file named INFO containing the following
commands:
MY_INFO1
PAUSE
CLS
MY_INFO2
PAUSE
CLS
After executing MY_INFO1 (by entering INFO on the command line), the
system pauses. When you press a key, the batch file clears the screen
and executes MY_INFO2, then pauses again. Press a key to return to the
command line.
Note: You can bypass some or all of the commands in your
AUTOEXEC.BAT file during system boot.