SpartaDOS X Reference Manual |
The Command Processor — Commands |
SET Command |
Purpose |
To display the values of all environment variables, and optionally to set an
environment variable to a specified value. |
|
Syntax | SET [var[=env_string]] |
|
Type | Internal |
|
Remarks |
Environment variables are global strings that can be used for one program to
communicate to another with. For example the "CAR" variable tells the CAR command where the
memory-save file is. There are three forms of this command. For example the command:
SET displays the contents of all environment variables, and: SET CAR=A:CAR.SAV sets the variable "CAR" to the value "A:CAR.SAV". The command: SET CAR deletes the environment variable "CAR" from the system. (This will cause the CAR command to not use a memory-save file.) |
Previous page |