Paxar Gold 6037EX Printer User Manual


 
4-52 ROM-DOS Internal Commands
NEWFILE
CONFIG.SYS Command
The NEWFILE command allows you to continue CONFIG.SYS file
processing from a new file. The file can be located in another directory
or even on a different drive.
Syntax
NEWFILE=filename
Remarks
The NEWFILE command is especially useful when the CONFIG.SYS file
is located on an inaccessible drive or in ROM. Additional device drivers
or instructions can be added easily to the new file and is processed along
with the main CONFIG.SYS file upon starting the system.
When the NEWFILE= instruction is processed, control passes from the
present file (the one containing the NEWFILE instruction) to the file
specified in the command. Any commands placed after the NEWFILE
instruction in the original file are not processed.
If the specified
filename
cannot be located, CONFIG.SYS processing
returns to the original CONFIG.SYS file and the next instruction is
processed. The next instruction can even be a second NEWFILE=
statement, allowing flexibility for systems which may have a variety of
drives installed or not installed at boot time. The first successful
NEWFILE statement is processed, transferring control to the specified
filename
. The remaining instructions in the original CONFIG.SYS file,
including NEWFILE= statements, are not processed.
NEWFILE commands can be nested. That is, your original CONFIG.SYS
can call a second set of instructions via the NEWFILE command. The
second file can, in turn, call a third file by using the NEWFILE command,
and so on. Be sure that each file name in the successive steps has a
unique name, otherwise, you will create an infinite loop as control is
passed back to the same file repeatedly. When NEWFILE is used, it is
also created as an environment variable, retaining the value assigned by