home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / DOS_HELP / PC_HELP1.ZIP / HELPDOS3.ZIP / SET.### < prev    next >
Encoding:
Text File  |  1985-12-28  |  1.3 KB  |  24 lines

  1. COMMAND:  SET (Set Environment)
  2.  
  3. FUNCTION: Inserts character strings into the processor's environment.
  4.  
  5. FORMAT:   SET [name=[parameter]]
  6.  
  7. TYPE:     DOS internal command
  8.  
  9. REMARKS:  The entire string following SET is inserted into a block of memory
  10.           reserved for environment strings that cannot exceed 127 bytes. Lower
  11.           case is converted to upper case. If the specified name already exists
  12.           in the environment, its value is replaced with parameter. If SET is
  13.           entered with no name, the current set of environment strings is
  14.           displayed. If name is specified with no parameter, the current
  15.           definition of name is removed from the environment. DOS automatically
  16.           adds any PROMPT and PATH commands to the environment. DOS always
  17.           adds COMSPEC=parameter as the first string in the environment, to
  18.           describe the path that DOS uses to reload the command processor when
  19.           necessary. References to name in an application or command are
  20.           replaced by parameter. Environment strings may be referred to in
  21.           batch files by enclosing the name of the string in percent signs
  22.           (eg. %name%), thereby allowing .BAT files to communicate with each
  23.           other.
  24.