Supervising the Network

5-43
Customizing the User Environment
Login Script Commands and Variables
If the user whose login script this line appears in is also located in the
SALES_LA.ACME_US context, the MAP command does not have to
specify the Directory Map object’s complete name. Instead, the line would
be
MAP S2:=APPL
For more information about using Directory Map objects, see “Loading
Operating Systems and Applications onto the Network” in chapter 3.
Examples
To map the first search drive to the SYS:PUBLIC directory (which contains the
NetWare utilities for DOS and Windows workstations) add the following line to
the login script:
MAP S1:=SYS:PUBLIC
The second search drive should be mapped to the DOS directory if users run
DOS from the network.
If your network has more than one DOS directory, use variables to indicate the
directory path. These variables are replaced by the correct information from the
workstation software when each user logs in.
To use variables for the DOS directory path, enter the following command in the
login script:
MAP S2:=SYS:PUBLIC\%MACHINE\%OS\%OS_VERSION
If all users have the same types of computers and are using the same version of
DOS, you probably have only one DOS directory. In this case, add a line similar
to the following, substituting the correct directory names:
MAP S2:=SYS:PUBLIC\IBM_PC\MSDOS\50
You can also create a Directory Map object that points to the DOS directory,
then map the search drive to the Directory Map object.
For more information about creating DOS directories, see “Loading Operating
Systems and Applications onto the Network” in chapter 3.
To map the next available search drive to the SYS:APPL\WORDPROC
directory, add the following line to the login script:
MAP S16:=SYS:APPL\WORDPROC
If you have mapped a Directory Map object to this directory, you can substitute
the Directory Map object’s name for the directory path.