home *** CD-ROM | disk | FTP | other *** search
- COMMAND: SET (Set Environment)
-
- FUNCTION: Inserts character strings into the processor's environment.
-
- FORMAT: SET [name=[parameter]]
-
- TYPE: DOS internal command
-
- REMARKS: The entire string following SET is inserted into a block of memory
- reserved for environment strings that cannot exceed 127 bytes. Lower
- case is converted to upper case. If the specified name already exists
- in the environment, its value is replaced with parameter. If SET is
- entered with no name, the current set of environment strings is
- displayed. If name is specified with no parameter, the current
- definition of name is removed from the environment. DOS automatically
- adds any PROMPT and PATH commands to the environment. DOS always
- adds COMSPEC=parameter as the first string in the environment, to
- describe the path that DOS uses to reload the command processor when
- necessary. References to name in an application or command are
- replaced by parameter. Environment strings may be referred to in
- batch files by enclosing the name of the string in percent signs
- (eg. %name%), thereby allowing .BAT files to communicate with each
- other.