René Nyffenegger's collection of things on the web
René Nyffenegger on Oracle - Most wanted - Feedback -
 

Programmatically setting environment variables under windows

Windows stores the environment variables in the registry under HKEY_CURRENT_USER\Environment (for user environment variables) and HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager\Environment (system environment variables). See also kb Q 104011.