User Guide
Login Script Commands and Variables 89
Novell Client for Windows
103-000159-001
December 7, 2001
Novell Confidential
Manual 99a38 July 17, 2001
Command Format
TERM nnn
Replace nnn with an error level. Any error level between 000 and 999 is valid.
Example
If you want the login script to exit and return an error code of 718, you can add
the following statement to the login script:
TERM 718
TREE
The TREE command can be used only with clients that support multiple NDS
tree attachments.
Use TREE to attach to another NDS tree within the network and to access its
resources.
The TREE command changes the “focus” of the login script so that all NDS
object references in subsequent script commands (for drive mappings, print
captures, etc.) apply to the NDS tree specified in the TREE command.
You can include multiple TREE commands within a login script, either to
attach to additional trees or to switch the login script’s “focus” back to a tree
that the user is already attached to.
Command Format
TREE tree_name[/complete_name[;password]]
Replace tree_name with the name of the NDS tree that you want the user to
attach to.
Replace complete_name with the user’s complete name (Distinguished Name)
for the NDS tree that the user is attaching to. The complete name establishes
the user’s context in the tree. If you do not include the complete name, the user
is prompted for a complete name when the TREE command is executed from
the login script.
Replace password with the correct password for that user and tree. If the
username and password are the same as the primary login username and
password, you can omit the password and not be prompted for it.