Supervising the Network

5-50
Customizing the User Environment
Login Script Commands and Variables
Replace name with an environment parameter that identifies the
environment you want to change.
Replace value with identifier variable substitutions. Values must be enclosed
in quotation marks.
To change the environment for the login script, but not for the workstation
after the login script has finished executing, use the optional keyword
TEMP.
Using SET
Use the SET login script command the same way you use the DOS
command SET. However, when you use SET in a login script, you must
enter quotation marks (“ ”) around values.
NOTE: If a variable is set to a path that ends in a \”, these two characters are interpreted as
an embedded quotation mark preceded by an escape character. To avoid this
problem, use two backslashes before the ending double quotation marks (\\”).
The SET commands do not have to be included in login scripts.
For example, you may decide that it is easier to put some SET commands in
the workstation’s AUTOEXEC.BAT file. Where you use SET commands
depends upon your individual needs.
NOTE: This command does not work in a login script if the DOS workstation’s environment
is too small. In this case, you should set the environment size in the CONFIG.SYS
file.
See the SHELL command in your DOS manual for more information about
the environment size.
After you use the SET command to set a value for an environment variable,
you can use that variable in other login script commands.
To include an environment variable as an identifier variable in a command,
enclose the name of the variable in angle brackets, for example,
<emailuser>.
Examples
You can use SET to make a prompt display the current directory path, such as
F:\HOME\MARY>, rather than just the drive letter. To do this, add the following