How can I add a new folder to my system path?
Learn how to add a new folder to the system path.
October 9, 2005
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:
Start the System Control Panel applet (Start - Settings - Control Panel - System).
Select the Advanced tab.
Click the Environment Variables button.
Under System Variables, select Path, then click Edit.
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
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.
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
You May Also Like