Course you can create them. It requires writing to the registry at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment and then broadcasting a WM_SETTINGCHANGE message.
However, note that the new (or altered) system environment variable is not retroactive, i.e the new/altered value will only appear in processes launched after the change is made
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.