Supervising the Network

5-70
Customizing the User Environment
Examples of Login Scripts
REM Mary needs access to FORMS while she’s on the
REM troubleshooting team. Remove the driver
mapping REM when Mary is reassigned.
This remark is intended as a reminder to
the person who created the login script.
This remark isn’t displayed on the user’s
screen. (Because the remark is several
lines long, each line starts with REM.)
SET WP=”/u-mjr/b-5” Sets Mary’s environment variables for her
word-processing application.
SET USR=”mrichard” Sets Mary’s username (mrichard) for the
electronic mail program.
#CAPTURE Q=FAST_Q NB TI=10 NFF Executes the CAPTURE utility so Mary
can print from non-network applications.
PCCOMPATIBLE
EXIT “NMENU TRAINING”
Stops the user login script and sends the
user into a menu program called
TRAINING. (DOS stations with the
machine name IBM_PC don’t need the
PCCOMPATIBLE line.)
Table 5-10 Sample User Login Script
Login script command Purpose