Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Get DOS Environment Varialbles


Message #1 by "dave sharpe" <davesharpe2@c...> on Sat, 28 Sep 2002 16:41:24 -0400
Matt
Thank you-

Dave


----- Original Message ----- 
From: "Matt Trinder" <mfm@c...>
To: "professional vb" <pro_vb@p...>
Sent: Saturday, September 28, 2002 5:45 PM
Subject: [pro_vb] Re: Get DOS Environment Varialbles


> dave
> 
> strTempFolder = Environ$("Temp")
> strTmpFolder = Environ$("Tmp")
> 
> HTH
> 
> Matt
> 
> ----- Original Message ----- 
> From: "dave sharpe" <davesharpe2@c...>
> To: "professional vb" <pro_vb@p...>
> Sent: Saturday, September 28, 2002 9:41 PM
> Subject: [pro_vb] Get DOS Environment Varialbles
> 
> 
> > I am trying to create a project to:
> > Determine the folders currently stored
> > as "TEMP=" and "TMP=" in "DOS".
> > The end result is to delete the contents
> > of them.
> > 
> > I work in a WIN2K world and can
> > manually "see" by typing "set" in a
> > command window. I tried to use
> > SHELL  and redirect it's output 
> > ( with ">" ) to a tempfile but couldn't 
> > get this to function; but, I know that there
> > must be a more direct way to 
> > get this information.
> > 
> > Any pointers will be appreciated.
> > 
> > Dave
> > 
> > 
> > 
> > 
> > ---
> > Visual C# - A Guide for VB6 Developers
> > This book will make it easy to transfer your skills 
> > from Visual Basic 6 to C#, the language of choice 
> > of the .NET Framework.
> > http://www.wrox.com/ACON11.asp?ISBN=1861007175&p2p0059
> > 
> > 
> 
> 
> 
> ---
> Visual C# - A Guide for VB6 Developers
> This book will make it easy to transfer your skills 
> from Visual Basic 6 to C#, the language of choice 
> of the .NET Framework.
> http://www.wrox.com/ACON11.asp?ISBN=1861007175&p2p0059
> 


  Return to Index