Supervising the Network
5-41
Customizing the User Environment
Login Script Commands and Variables
Mapping Search Drives
For DOS and Windows workstations, you can map search drives to
directories that contain applications, executable files, and so forth. Then
users can execute those applications regardless of the directory in which
they are currently working.
A maximum of 16 NetWare search drives is allowed.
NOTE: Any object names in the login script should either be in the user’s context or should
have an alias point to the real object in another context. Any object referenced by a
name outside the user’s context will not work when that object is moved or renamed
or the context is renamed. See “Alias object” in Concepts.
When you map a search drive, use a search drive number (an S followed by
a number). This search drive number assigns the next available drive letter
to the mapping, starting with Z and working backwards through the English
alphabet.
The letter assigned to the search drive is put into the DOS path statement. If
you already have search drives in the path statement, the command MAP
S1:= will overwrite the first one in the path. To prevent search drive
assignments from overriding existing DOS PATH letters, use the INSERT
option when assigning search drives. For example, type
MAP INS S16:=path
To ensure that users can access NetWare utilities, DOS directories, and
applications, we recommend you map search drives to these directories in
the following order:
• Map the first search drive (S1:) to the SYS:PUBLIC directory, which contains the
NetWare utilities for DOS and Windows workstations.
• Map the second search drive (S2:) to the DOS directory if users access DOS from
the network.
• Map the third and subsequent search drives (S3:, S4:, etc.) to directories
containing applications and the electronic NetWare documentation.
• If your users are running Windows from the network, map a search drive to the
Windows directory for the Windows group.