Commands for Workstation Environment

The following commands are for the workstation environment:

  • SET

  • SET_TIME

Each of these commands is covered in detail in the following sections.

SET

SET assigns an environment variable to a specified value. When you use SET in a login script, you must enter quotation marks (" ") around the values. SET commands do not have to be defined in a login script. For example, you can SET environment variables in a workstation's AUTOEXEC.BAT file. Where you use SET commands depends upon your individual needs.

NOTE

If a variable is set to a path that ends in \" , these two characters are interpreted as an embedded quote preceded by an escape character. To avoid this problem, use two backslashes before the ending double quotes ( \\" ).


After you use the SET command to assign a value to 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, <engineer> ). Use the following syntax:

 
 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 temporarily assign an environment setting for the duration of the login script only, use the optional keyword TEMP at the start of the SET line.

 
 TEMP SET  name  ="  value  " 

SET_TIME

SET_TIME sets the workstation time equal to the time on the NetWare server to which the workstation first connects. If you include SET_TIME OFF in the login script, the workstation time does not update to the server's time.



Novell NetWare 6. 5 Administrator's Handbook
Novell NetWare 6.5 Administrators Handbook
ISBN: 0789729849
EAN: 2147483647
Year: 2002
Pages: 172

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net