User Guide

Login Script Commands and Variables 79
Novell Client for Windows
103-000159-001
December 7, 2001
Novell Confidential
Manual 99a38 July 17, 2001
Examples
To execute a text file called SCRIPT.NEW (located in volume VOL1) as a
subscript, add the following line to your main login script:
INCLUDE VOL1:ADMIN\USERS\SCRIPT.NEW
Suppose you are creating a container login script for all users under the
Organizational Unit object SALES_LA. You recently created a container
login script for users under the Organizational Unit object SALES_PV.
You’ve decided that the SALES_LA users could use the same login script as
the SALES_PV users, but with a few more drive mappings.
In the SALES_LA login script, you could add the additional drive mappings
and then use the INCLUDE command to execute the entire SALES_PV login
script as a part of the SALES_LA login script, as follows:
1. Create an alias for the SALES_PV Organizational Unit in the
SALES_LA Organizational Unit.
2. Add this line to the SALES_LA Organizational Unit’s login script:
INCLUDE .SALES_PV_ALIAS.SALES.NOVELL_US
The following figure illustrates how the INCLUDE command executes the
SALES_PV login script as part of the SALES_LA login script.