This command, similar to the DOS set command, declares a value for a DOS environment variable.
[temp] set varname = "value"
temp |
Change the environment variable for just the duration of the login script execution. |
varname |
Specify the name of the environment variable that you want to create or change. |
value |
Specify the value you want to give the variable. Note that unlike the DOS set command, you should enclose it in double quotation marks. |
Use the following command to change the value the environment variable file to value doc.txt for only the duration of the login script execution:
temp set file = "doc.txt"