home *** CD-ROM | disk | FTP | other *** search
- SET
-
- SET is an internal command used to define a value for an environment variable
- in the DOS environment space for subsequent use by programs and BATCH files.
-
- SET [string1=[string2]]
- or
- SET
-
- string1 is a variable name less than 32 characters long, preferably
- without blanks. If string1 and the equal sign are entered without
- string2, the variable name string1 will be removed from the environment.
-
- string2 is the value to be assigned to string1. It is taken as is, with
- quotes or blanks or whatever. It cannot be over 120 characters long.
- If many environment variables are to be defined at the same time, a
- larger DOS environment space will probably need to be allocated on the
- SHELL line in the CONFIG.SYS file.
-
- If SET is executed with no options specified, the current DOS environment
- space will be displayed. Any changes to variables made by a BATCH file
- executed by COMMAND /C or CALL will be lost when it EXITs.