How to edit the Windows path environment variable in Windows 10

By: Matthew Adams
3 minute read

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

The Command Prompt is the last remnant of DOS (a former command-based operating system) preserved in Windows. You can open software and run handy tools, such as the System File Checker, with it. For example, you can run SFC by entering ‘sfc /scannow’ without specifying its path. To open third-party software in Windows, you would usually need to input a full directory in the Command Prompt. The path environment variable tells your system where it can find the SFC, but not the software.

The path environment variable could be a handy setting for those who often make use of the Command Prompt. Microsoft even replaced the Edit System Variable dialog in earlier Windows platforms with a new Edit environment variable path window in Windows 10. The Edit environment variable window enables you to add new paths to third-party software so that you can open the programs without entering their full directories in the Command Prompt. This is how you can edit the Windows path environment variable in Windows 10.

  • Click the Cortana taskbar button and type ‘advanced system settings’ in the search box. Then, select View advanced system settings to open the window in the shot below.

  • Press the Environment Variables button to open the window shown below.

  • There you can select Path in the System variables box. Selecting Path and pressing the Edit button opens the window shown directly below.

  • The Edit environment variable window above includes a C:\Windows\system32 path, which is where the System File Checker tool is. To add your own path, press the New button.


For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

  • Enter ‘C:’ in the empty space and press the Browse button to select a folder. If you don’t enter something in the space for the new path, your selected folder directory replaces the path listed above it.
  • Now, select a folder that includes third-party software in the Browse for Folder window. For example, I selected a folder that includes Firefox.
  • Press the OK button on the Browse for Folder window to confirm the selection. The Edit environment variable window will include your selected path as in the snapshot below.

  • Press the OK button on Edit environment variable window to close it.
  • Click the OK buttons on the Environment Variables and System Properties windows to close them.
  • Now press Win key +X hotkey to open the Win X menu.
  • Click Command Prompt on that menu to open it as below.

  • Now you can open the software path you added to the Edit environment variable window by entering its executable. For example, if you added Firefox’s path to it you can open that browser by entering ‘Firefox’ in the Command Prompt.

Note that a program’s executable doesn’t always match the exact software title. For example, I found that Opera’s executable was Launcher. As such, check the software’s executable title in File Explorer and then enter that in the Command Prompt.

No longer do you need to enter C:\folder\subfolder\subfolder\software title to open a program! This certainly comes in handy if you’re not entirely sure what the software’s path is.

RELATED STORIES YOU NEED TO CHECK OUT:

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

Next up

Best Windows 10 antivirus software to use in 2018

By: Radu Tyrsina
7 minute read

Update – 2018 will soon come to an end and we already have a guide on what is the best antivirus you should get in […]

Continue Reading

These features are out for good with Windows 10 version 1809

iamsovy@gmail.com' By: Sovan Mandal
2 minute read

Microsoft is all set to launch its next big update, Windows 10 version 1809 in October. While that should be a nice piece of news […]

Continue Reading

Windows 10 18H2 builds no longer receive new features

By: Matthew Adams
3 minute read

The Windows 10 October 2018 Update (otherwise 18H2) rollout might now be two to three weeks away. For the last few months, new build previews […]

Continue Reading

Discussions