Modifying Environment Variables
-
How can I modify an environment variable such that the changes are made to the registry, so that they are propagated to others when system restarts or some new application starts? The SetEnvironmentVariable API updates the environment for the current process only. Thanks, Krishnan
-
How can I modify an environment variable such that the changes are made to the registry, so that they are propagated to others when system restarts or some new application starts? The SetEnvironmentVariable API updates the environment for the current process only. Thanks, Krishnan
Hello Krishnan, I have a suggestion for you : on a Windows NT machine, you can try modifying the following registry entry : "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" Search for the environment variable you want to modify and make the necessary changes. Best Regards, Bio.