Supervising the Network
5-19
Customizing the User Environment
Login Script Commands and Variables
# (Execute External Program)
Use the # symbol to execute a program that is external to the login script.
Command 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.
Using #
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
• The given directory is invalid.
• Proper security rights are lacking.
• The executable file cannot be found.
• Insufficient workstation memory is available to load the file.
NOTE: LOGIN swaps to extended or expanded memory or to disk unless NOSWAP is
specified on the command line or in the login script.
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 #