"R.Wieser" wrote:
I have the need to add an environment variable that will be visible
to all processes (a fake "LOGONSERVER" for a stand-alone). I've
found several ways to add them to "system", "user" and even
"Volatile" sections, but found no way to add them to "process".
Ultimatily I would like to be able to copy, using vbscript, a few
environment variables from the "user" section to the "process"
section.
Any idea how to do it ?
Are you looking for a method to do that under win-9x?
I don't believe that win-9x supports any of the above types except for
"process", as mentioned he
http://wsh2.uw.hu/ch07c.html
For win-9x, you just need to programatically edit the autoexec.bat file
to add new environment variables (and restart the system).