How can I add a new folder to my system path?

Learn how to add a new folder to the system path.

John Savill

October 9, 2005

1 Min Read
How can I add a new folder to my system path?

A. The system path is a list of folders, separated by a semicolon, that identifies the folders that the system should search when looking for files that are called from the Run dialog box, command line, or other processes. Normal program installation changes this path to include the program's installation path.

See also, "How do I add a folder to the Windows 2000/Windows XP PATH, in a batch?" and "Securing the Windows Search Path."

To change the system path, perform these steps:

  1. Start the System Control Panel applet (Start - Settings - Control Panel - System).

  2. Select the Advanced tab.

  3. Click the Environment Variables button.

  4. Under System Variables, select Path, then click Edit.

  5. You'll see a list of folders, as this example for my system shows: C:Program FilesWindows Resource KitsTools;%SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem;C:Program FilesSupport Tools;C:Program FilesCommon FilesRoxio SharedDLLShared;C:Program FilesCommon FilesUlead SystemsMPEG;C:Program FilesIntelDMIX;C:Program FilesExecutive SoftwareDiskeeper;C:Program FilesBonjour;C:Program FilesQuickTimeQTSystem;C:Program FilesMisc

  6. You can add additional folders that you want to include in searches. I add a "C:program filesmisc" entry into which I place my standalone utilities, instead of copying them into C:windows. Click OK.

  7. You'll need to restart the processes (e.g., command prompt) that use the system path to see the added folders.

An alternative to setting the path at system level is to change it at user level; however, doing so will affect only your logon session and not other users who might use the computer or system processes, which might cause confusion and unexpected behavior. You can also set the path at a system level by using the setx command with the -m switch.

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