User Guide
Sample Login Scripts 93
Novell Client for Windows
103-000159-001
December 7, 2001
Novell Confidential
Manual 99a38 July 17, 2001
B Sample Login Scripts
You can create login scripts from these sample login scripts using NetWare
®
Administrator. Using a sample login script can help reduce syntax errors,
reducing the time it takes you to create your login scripts.
For more information on how to create login scripts, see “Creating Login
Scripts from a Sample or Existing Login Script” on page 34.
IMPORTANT: You must modify these sample login scripts to match the server
names, directory paths, and specifications of your own network.
Sample Container Login Script
The container login script should contain any information that applies to all
users. By using some or all of the commands included in the following sample
container login script, you might find it easier to plan and create your own
container login scripts.
For more detailed information about each type of login script command, see
“Login Script Commands and Variables” on page 59.
MAP DISPLAY OFF
MAP ERRORS OFF
MAP *1:=%HOME_DIRECTORY
IF "%1"="ADMIN"THEN MAP *1:SYS:SYSTEM
IF OS = "WIN95" THEN
MAP P:=SYS:PUBLIC
ELSE
MAP INS S1:=SYS:PUBLIC
MAP INS S2:=SYS:PUBLIC\%MACHINE\%OS\%OS_VERSION
END