Operating System - Microsoft
1752803 Members
5636 Online
108789 Solutions
New Discussion

Re: 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 1
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