G  
Author Message
imdqa





PostPosted: .NET Base Class Library, G Top

Does anyone know how can I access the %ProgramFiles% environment variable on a remote machine without using the registry

I tried to use WMI win32_environment but it doesn't show that variable .


.NET Development29  
 
 
TaylorMichaelL





PostPosted: .NET Base Class Library, G Top

AFAIK there is no other way. The scripting guys from TechNet ran into the same problem. http://www.microsoft.com/technet/scriptcenter/resources/qanda/dec05/hey1222.mspx

Michael Taylor - 11/27/06


 
 
imdqa





PostPosted: .NET Base Class Library, G Top

%ProgramFiles% using WMI:
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=961554&SiteID=1