Walker News

How To Add Windows Program To System Path?

How to enable Windows 7 to recognize a command or program typed in the Start menu search box or Command Prompt (cmd.exe) window?

To get Windows Command Prompt recognizes the application, especially console program, on any working directory, the folder path of the said program must be in Windows system path or %PATH% environment variable.



Add new program path to Windows system path

Let’s say you saved hobocopy.exe or wfslog.exe to C:\Exe.

Now, to enable Windows 7 find and run the program as you type hobocopy or wfslog in the Start menu search box or Command Prompt (CMD) with working directory at C:\Windows\System32, you must include C:\Exe in %PATH% environment variable (i.e. Windows system path):
  1. Open System Properties dialog box – Click Start button, type SystemPropertiesAdvanced.exe in the search box and press ENTER as the program highlighted atop the Start menu.
     
  2. Go to Advanced tab and click “Environment variable” button
     
  3. Locate and double click the “Path” variable in “System variables” section
     
  4. Append ;C:\Exe (the ; is used to separate two program paths) in the “Variable value” text box and click OK button
     
  5. Closes the Windows System Properties dialog boxes.
     
  6. Open a new Command Prompt window (cmd.exe) and confirm Windows 7 is now recognize any program saved in C:\Exe (e.g. hobocopy and wfslog in this example)

The change to %PATH% environment variable using the above steps is persistent on each reboot until the path is removed.

Custom Search

2017  •  Privacy Policy