• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 260
  • Last Modified:

Setting Environment Variables?

How do I set environment variables from VB?
e.g. append to the path variable and set the variable 'HOME_DIR' to c:\appsdir\cliserve.

TIA
0
small
Asked:
small
1 Solution
 
MirkwoodCommented:
Edit the registry in HKEY_LOCAL_MACHINE\System\currentcontrolset\session manager\environment
0
 
smallAuthor Commented:
Sounds Good.

Do you have any examples?

Thanks

jonathan
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now