Supervising the Network
5-20
Customizing the User Environment
Login Script Commands and Variables
command, the # command fails but the rest of the login script executes normally.
For more information, see “SWAP” in this chapter.
Examples
When you want to define a default print queue and printer, you can make the
login script execute the NetWare CAPTURE utility. This allows you to send
print jobs to a network print queue (named QUEUE_FOR_LASERJET in
this example).
If you have a search drive mapped to SYS:PUBLIC where the NetWare
utilities are stored, you could enter the following command in the login
script:
#CAPTURE Q=QUEUE_FOR_LASERJET NB TI=10 NFF
You do not need to enter a path in this case because CAPTURE is located in
a search drive.
If you do not have a search drive mapped to a directory, include the path to
that directory in the command. For example, to run a batch file named
BATCH.BAT in the ACCOUNTS directory, use the following command:
#Z:\ACCOUNTS\BATCH
Additional Information
ATTACH
Use ATTACH to connect to a NetWare 2 or NetWare 3 server or to a
NetWare 4 server using bindery services while the login script is running.
Command Format
ATTACH [server[/username[;password]]]
For more information about Refer to
Using the NOSWAP
command
“NOSWAP” in this chapter
Using the SWAP command “SWAP” in this chapter