General
cancel
Showing results for 
Search instead for 
Did you mean: 

Using Enviroment Variables in Visual Basic

Ron Bromwell
Frequent Advisor

Using Enviroment Variables in Visual Basic

I want to access an local machine enviroment variable from inside of visual basic. The variable is a path and I want to right a file to it. Any ideas?

Thanks,
Ron
life's a journey, not a destination
1 REPLY
Ganesh Babu
Honored Contributor

Re: Using Enviroment Variables in Visual Basic

http://www.microsoft.com/technet/treeview/default.asp?url=/technet/scriptcenter/scrguide/sas_wsh_kmmj.asp

Check this out.. use the windows script shell object..

Hope this helps.

Ganesh