NetWare 4.1/9000 Concepts

1-88
NetWare Glossary
L
IF OS2 THEN
MAP P:=SYS:PUBLIC
ELSE MAP INS S1:=SYS:PUBLIC
MAP INS S2:=SYS:PUBLIC\%MACHINE\%OS\
%OS_VERSION
END
The first search drive is mapped to
SYS:PUBLIC, where DOS-based
NetWare utilities are stored. The
second search drive is mapped to the
directory where DOS is stored.
For example, if all stations use DOS,
use the following two commands
instead of the IF...THEN command:
MAP INS S1:=SYS:PUBLIC
MAP INS S2:=SYS:PUBLIC\
%MACHINE\%OS\%OS_VERSION
IF MEMBER OF “WIN31” THEN
MAP INS *2:=SYS:USERS\%LOGIN_NAME\WIN31
MAP INS S16:=SYS:APPS\WINAPPS\WIN31
SET TEMP = “P:\USERS\%LOGIN_NAME\WIN31\TEMP”
END
If the user who logs in is a member of
Group object WIN31, the next
available drive is mapped to that users
Windows directory. Then the next
available search drive is mapped to the
Windows directory for the WIN31
group. Finally, the Windows TEMP
directory is set to a subdirectory of the
users Windows directory.
MAP INS S16:=VOL1:APPL\WP Maps the next available search drive to
the directory that contains
WordPerfect. Extra setup is required if
users use different search drives for
WordPerfect.
MAP INS S16:=VOL1:APPL\LOTUS Maps the next available search drive to
the directory that contains Lotus.
MAP INS S16:=SYS:EMAIL Maps the next available search drive to
the E-mail directory. Note: Some mail
programs require all users to use the
same search drive.
Table 1-6 Sample container login script
Login script commands Purpose