home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / batch / set / help.hlm < prev   
Encoding:
Text File  |  1989-01-01  |  1.0 KB  |  23 lines

  1.                             SET
  2.  
  3. SET is an internal command used to define a value for an environment variable 
  4. in the DOS environment space for subsequent use by programs and BATCH files.
  5.  
  6.     SET [string1=[string2]]
  7.       or
  8.     SET
  9.  
  10. string1 is a variable name less than 32 characters long, preferably 
  11.     without blanks. If string1 and the equal sign are entered without
  12.     string2, the variable name string1 will be removed from the environment.
  13.  
  14. string2 is the value to be assigned to string1. It is taken as is, with
  15.     quotes or blanks or whatever. It cannot be over 120 characters long. 
  16.     If many environment variables are to be defined at the same time, a 
  17.     larger DOS environment space will probably need to be allocated on the 
  18.     SHELL line in the CONFIG.SYS file.
  19.  
  20. If SET is executed with no options specified, the current DOS environment 
  21. space will be displayed. Any changes to variables made by a BATCH file 
  22. executed by COMMAND /C or CALL will be lost when it EXITs.
  23.