Command Format; Examples - Novell NETWARE 6-DOCUMENTATION Manual

Table of Contents

Advertisement

Command Format

Examples

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.
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>).
[TEMP] SET name="value"
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
itself after the login script has finished executing, use the optional keyword
TEMP.
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 line to the login script:
SET PROMPT="$P$G"
"$P" lists the current directory path and "$G" displays a greater-than sign (>).
To set a path for a program called DAILY, which is in the REPORTS
subdirectory under drive G:, you would add the following line:
SET PATH="G:\REPORTS\DAILY"
This sets the variable PATH to G:REPORTS\DAILY.
Setting the variable PATH in the login script removes any search drives
previously assigned. Use SET PATH only before you map search drives. SET
PATH also overwrites any paths set in the user's AUTOEXEC.BAT file.
To display this path, you can include PATH as an identifier variable in a
WRITE command by enclosing the variable (not the value) in angle brackets.
Login Script Commands and Variables
85

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETWARE 6-DOCUMENTATION and is the answer not in the manual?

This manual is also suitable for:

Netware 6

Table of Contents