Supervising the Network

5-54
Customizing the User Environment
Login Script Commands and Variables
%2=ACCNTS
%3=WP
In this case, Mary’s login script looks for %2, which is now ACCNTS.
The login script maps a drive to the ACCNTS directory. Then the login
script shifts the variables to the right so that %2 now becomes WP.
Upon executing the loop, the login script sets the word-processing
environment.
Additional Information
SWAP
Use SWAP to move the LOGIN utility out of conventional memory into
higher memory (if available) or onto the disk. This allows execution of a #
command and LOGIN at the same time.
Command Format
SWAP [path]
You can replace path with either a drive letter or a full directory path
beginning with the NetWare volume name.
Using SWAP
By default, the LOGIN utility always swaps to extended or expanded
memory, unless NOSWAP is specified on the command line or in the login
script.
NOTE: The SWAP option does not work with the DR DOS 6.0 EMM386 Memory Manager
option unless upper memory is disabled.
If you specify a path in the SWAP command, LOGIN swaps into the
directory you specified. If the directory specified in that path does not exist
or if you do not have rights there, LOGIN prompts you for another path.
For more information about Refer to
Using %n variables in login
scripts
“Using LOGIN Parameters with %n
Variables” in this chapter.