🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #1068

Re: Help Required with Dos variables

#1068
From: Robert W. Babcock
Date: Mon, 04 Jan 1993 17:06
9 lines
900 bytes
In article <1993Jan4.160029.26833@newton.ccs.tuns.ca> macdonak@newton.ccs.tuns.ca (Kevin MacDonald) writes:

>Is there any way to display the contents of a single DOS variable?
>I know you can display all current variables by typing SET, but there
>doesn't appear to be any way to display variables individually.

In a batch file you could do something like
  echo COMSPEC is %COMSPEC%
This can be redirected.
Technical Details
Message-ID: <babcock.12.0@cfa.harvard.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!rpi!usc!news.bbn.com!hsdndev!cfa203!cfa.harvard.edu!babcock
References: <1993Jan4.160029.26833@newton.ccs.tuns.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!rpi!usc!news.bbn.com!hsdndev!cfa203!cfa.harvard.edu!babcock
From: babcock@cfa.harvard.edu (Robert W. Babcock)
Newsgroups: alt.msdos.programmer
Subject: Re: Help Required with Dos variables
Message-ID: <babcock.12.0@cfa.harvard.edu>
Date: 4 Jan 93 17:06:11 GMT
References: <1993Jan4.160029.26833@newton.ccs.tuns.ca>
Sender: news@head-cfa.harvard.edu
Organization: Smithsonian Astrophysical Observatory
Lines: 9