Avery Dennison 6035 Programmer Manual Rev.A 7/98 User Manual
Page 28

2-16 ROM-DOS 6.22 User Manual
7/9/98
Creating a Batch File
A batch file can be created using any word processor or text editor that
will save output as unformatted text (pure ASCII). Batch files can also
be created by typing directly from the keyboard into a file with the
command
COPY CON filename.BAT
This copies the output from the console (keyboard) to the specified file.
Once you have entered the above command, you may begin to type in
the contents of your batch file.
At the completion of each line, press
you can make corrections by using
incorrect line has been entered, or if you wish to discontinue for any
other reason, press
work is not saved.
When you have finished entering all the lines in your batch file, press
return you to the command line prompt.
Batch File Parameters
A batch file may use parameters placed on the command line. These
parameters are inserted as command line arguments for commands or
instructions within the batch file prior to their execution.
A batch file called ARCHIVE could be set up as follows:
PRINT %1
COPY %1 \ARCHIVE\*.*
DEL %1
The batch file could be executed by entering:
ARCHIVE THISFILE.DAT