Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
System Environment Variables in VB
Name: astroraptor Date: June 1, 2005 at 14:39:04 Pacific OS: Windows 2000 Pro CPU/Ram: 1.6GHz/512Mb
Comment:
Is it possible to use user/system environment variables in VB? I'm integrating a batch file into a VB program. The batch is writing to: %temp%\tmp.tmp so I'm wondering if there's a way I can open that file in VB using the system variable since %temp% is different for every user/computer. Thanks.
Summary: Is there a way to set system environment variables in vb. I see the class environ to view them, but what if I want to set them? thanks, Alex ...
Summary: How do I set environment variables in VB.NET? I tried shelling out -> set myvar="myval" But that doesn't work. I know Environ("myvar") gets the value, but what sets it? thanks ...
Summary: How to use environment variable in C? Hi, I'm trying to replace a column in a comma seperated file with a column in another file using sed/awk. Can anyone help me. Thanks Siva ...