User Guide
86 Novell Client for Windows
Novell Client for Windows
103-000159-001
December 7, 2001
Novell Confidential
Manual 99a38 July 17, 2001
For example, the following line displays My path is
G:\REPORTS\DAILY:
WRITE "My path is ";path
To include an environment variable in a MAP command, precede the variable
with a percent sign (%). For example, you could include the following lines in
a login script to set and map a drive to the variable NWS:
SET NWS="C:\XYZ"
MAP S16:=%<NWS>
SET_TIME
Use SET_TIME to set the workstation time equal to the time on the NetWare
server that the workstation first connects to.
If you set SET_TIME to OFF in the login script, the workstation time does not
update to the server’s time.
Command Format
SET_TIME ON|OFF
SHIFT
Use SHIFT to change the order in which %n variables are interpreted in the
login script. SHIFT allows users to enter login parameters in any order. For
more information on %n variables, see “Login Parameters with %n Variables”
on page 65.
You can shift up to 10 login script variables from %0 to %9.
When users execute NetWare Login, they can include additional parameters.
Each of these parameters is assigned a %n variable; in this way, the
parameter’s real value can be substituted for the %n variable that appears in
the login script.
In the login script, you can add SHIFT with a positive or negative number to
move the variables in either direction. For example, SHIFT -3 moves each %n
variable three positions to the right.