How do I modify system variables?
John Savill
March 4, 1999
1 Min Read
A. As with user variables, these can be changed using the system control panel applet:
Start the System control panel applet
Select the Environment tab
Under "System Variables" select a variable and its value will be displayed. Modify it in the Value box and click Set.
Once you have made all changes click Apply then OK
Alternatively you can directly edit the registry to make these changes
Start the registry editor
Move to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerEnvironment
Double click on the variable, e.g. Path and edit the value. Once complete click OK
Close the registry editor
A final method from the command line is to use the SET command
C:> set OS=OS2 DON'T do this :-)
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like