home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / alt / msdos / programm / 3088 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  880 b 

  1. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!rpi!usc!news.bbn.com!hsdndev!cfa203!cfa.harvard.edu!babcock
  2. From: babcock@cfa.harvard.edu (Robert W. Babcock)
  3. Newsgroups: alt.msdos.programmer
  4. Subject: Re: Help Required with Dos variables
  5. Message-ID: <babcock.12.0@cfa.harvard.edu>
  6. Date: 4 Jan 93 17:06:11 GMT
  7. References: <1993Jan4.160029.26833@newton.ccs.tuns.ca>
  8. Sender: news@head-cfa.harvard.edu
  9. Organization: Smithsonian Astrophysical Observatory
  10. Lines: 9
  11.  
  12. In article <1993Jan4.160029.26833@newton.ccs.tuns.ca> macdonak@newton.ccs.tuns.ca (Kevin MacDonald) writes:
  13.  
  14. >Is there any way to display the contents of a single DOS variable?
  15. >I know you can display all current variables by typing SET, but there
  16. >doesn't appear to be any way to display variables individually.
  17.  
  18. In a batch file you could do something like
  19.   echo COMSPEC is %COMSPEC%
  20. This can be redirected.
  21.