User Guide

Login Script Commands and Variables 65
Novell Client for Windows
103-000159-001
December 7, 2001
Novell Confidential
Manual 99a38 July 17, 2001
Login Parameters with %n Variables
Some variables in a login script can be indicated by a percent sign (%)
followed by a number from 0 through 9.
NOTE: Only four variables (%2 through %5) can be changed in the login screen.
When a user logs in, additional parameters can be entered that the login utility
passes to the login script. The login utility then substitutes these parameters
for any %n variables in the login script. These variables are replaced in order
by the parameters the user entered when logging in.
The %0 variable is replaced by the name of the NetWare server entered in the
login dialog box, and %1 is replaced by the users fully distinguished login
DOS
Environment
<variable> Any DOS environment variable can be used in
angle brackets. To use a DOS environment
variable in MAP, COMSPEC, and FIRE
PHASERS commands, add a percent sign (%) in
front of the variable.
Miscellaneous ACCESS_SERVER Shows whether the access server is functional
(TRUE = functional; FALSE = nonfunctional)
ERROR_LEVEL An error number (0 = no errors)
%n Replaced by parameters the user enters at the
command line with the login utility
See “Login Parameters with %n Variables” on
page 65.
Object Properties property_name You can use property values of NDS objects as
variables. Use the property values just as you do
any other identifier variable. If the property value
includes a space, enclose the name in quotation
marks.
To use a property name with a space within a
WRITE statement, you must place it at the end of
the quoted string:
WRITE"Given name=%GIVEN_NAME"
IF"MESSAGE SERVER"="MS1" THEN MAP INS
S16:=MS1\SYS:EMAIL END
Category Identifier Variable Function