>
> Enviroment variables are stored in
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
> Manager\Environment.
There are system enviroment variables. For user enviroment variables see
HKEY_CURRENT_USER\Environment.
Windows API functions are SetEnvironmentVariable/GetEnvironmentVariable.
Both sets/gets the value of an environment variable for the current
process.
Rony