[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 252
  • 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

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

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