Supervising the Network
5-69
Customizing the User Environment
Examples of Login Scripts
User Login Script
Table 5-10 shows an example of a user login script for user Mary. The user
login script executes after the container and profile login scripts have
executed.
PCCOMPATIBLE
EXIT “NMENU WORK”
Stops the profile login script and sends the
user into a menu program called WORK.
EXIT also prevents any user login scripts
from executing.
If you want a user login script to execute
after the profile login script, put these lines
at the end of the user login script instead.
(DOS workstations with the machine name
IBM_PC do not need the PCCOMPATIBLE
line.)
Table 5-10 Sample User Login Script
Login script command Purpose
MAP DISPLAY OFF Prevents MAP commands from displaying
on the screen as they are assigned.
MAP ERRORS OFF Prevents mapping errors from displaying
on the screen.
MAP *7:=VOL1:MARY\PROJECTS\RESEARCH Maps Mary’s seventh network drive (after
those assigned in the container and profile
login scripts) to the RESEARCH
subdirectory in her home directory.
MAP *8:=VOL1:FORMS Maps Mary’s eighth network drive (after
those assigned in the container and profile
login scripts) to the FORMS directory.
Table 5-9 Sample Profile Login Script
Login script command Purpose