Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Visual Basic .NET only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
Visual Basic .NET
Setting an environment variable
Setting an environment variable
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
beaker
#1
Setting an environment variable
Nov 21 '05, 11:14 PM
Hi,
I want to be able to add to the PATH environment variable in one of my
programs. Is there a way to do this? I know how to check the path
using Environment.Get EnvironmentVari able("path"), just can't work out
how to add to it!
Thanks,
Gary
kHSw
#2
Nov 21 '05, 11:35 PM
Re: Setting an environment variable
You can do this using the registry (Microsoft.Win3 2.registry). You can find
the keys to modify at
http://support.microsoft.com/kb/q104011/
In .NET 2.0 you could just use Environment.Set EnvironmentVari able()
--
http://www.khsw-be.net
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment