How do I modify system variables?

John Savill

March 4, 1999

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. As with user variables, these can be changed using the system control panel applet:

  1. Start the System control panel applet

  2. Select the Environment tab

  3. Under "System Variables" select a variable and its value will be displayed. Modify it in the Value box and click Set.

  4. Once you have made all changes click Apply then OK

Alternatively you can directly edit the registry to make these changes

  1. Start the registry editor

  2. Move to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerEnvironment

  3. Double click on the variable, e.g. Path and edit the value. Once complete click OK

  4. 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