Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB6/Windows NT Environment Variable

Status
Not open for further replies.

mhutchis

Programmer
Sep 18, 2002
7
US
We seek to interactively change components of the PATH environment variable in Windows NT 4.0 (without having to logout and login), effectively employing as if using the System Properties control panel and applying the change.

We know we can perform PATH alterations using the registry API functions, but we cannot seem to isolate how System Properties evidently is able to distribute the altered environment variable values to all existing processes.

Is it even possible to do this with local environment variables?

(Using Unix kshell as an analogy, we seek to run and export an environment variable using ". shell.ksh".)

Thanks in advance

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top