There are two methodologies to defining environment variables on Windows. I have seen examples using 'system' variables and mere 'environment' ones. What are the differences and consequences to using the one method over the other?
Variables like %SystemRoot% and %WinDir% are just plain environment variables. The only difference is where their values come from:
The effective process environment is a merge of these three sources.
The latter two registry keys can be edited from the Control Panel + System applet, Environment Variables button. Beware that making the changes effective may require a logoff + logon so the process starts with a fresh copy of the environment instead of a stale one it inherits from its parent process.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With