Command Descriptions
Advanced User’s Guide
B-17
instructions were to be placed after the
NEWFILE
command) and the
remainder of the startup process will be completed.
NEWFILE
commands can be nested. The 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 filename in the successive steps has a unique name, otherwise, an infinite
loop will be created as control is passed back to the same file repeatedly.
Each filename given in a
NEWFILE
command line will have an environment
variable of the same name.
Example
The following example will cause instructions in the file
NEWCFG.SYS
,
located in the
C:\BIN
directory, to be executed as part of the
CONFIG.SYS
file. The contents of
NEWCFG.SYS
may include any of the commands listed
in this section.
NEWFILE=C:\BIN\NEWCFG.SYS
Type
External
Purpose
The PRINT utility prints a single file or a list of files.
Syntax
PRINT [
filespec
] [/
options
]
Remarks
Enter between 1 and 32 files for spooling to the printer. The files are output to
the device in a spooled manner (while the user performs other operations).
If
is entered without any parameters, then it displays all the files that
are in the queue.
The first time
is used the operator is prompted for the device to
perform the operation. The following message is used to prompt the operator
for the device.
Name of list device [PRN]:
The legal devices for printing are
LPT1
,
LPT2
,
LPT3
,
LPT4
,
COM1
,
COM2
,
COM3
,
COM4
,
AUX
, or
PRN
.
advuser.book Page 17 Friday, September 27, 2002 4:22 PM