Use the # symbol to execute a program that is external to the login script.
The command has the following format:
# [path] filename [parameter]
Replace path with a drive letter; or, if you have specified ``NOSWAP'' on the command line or in the login script, you may replace path with a full directory path beginning with the NetWare volume name.
Replace filename with an executable file (files that end in .EXE, .COM, or .BAT, for example). Do not include the extension.
Replace parameter with any parameters that must accompany the executable file.
If you want the LOGIN utility to execute a program that is external to the login script, enter the # command (symbol) followed by the name of the file you want to execute.
This command fails when
NOSWAP prevents LOGIN from being swapped out of conventional memory. Then, if the station does not have enough memory to handle both LOGIN and the # command, the # command fails but the rest of the login script executes normally.
For more information, see ``SWAP''.
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
For more information about using the NOSWAP command, see ``NOSWAP''; using the SWAP command is described in ``SWAP''.