Set the path environment variable in Windows 10 [EASY STEPS]

3 minute read

Home » How To » Set the path environment variable in Windows 10 [EASY STEPS]

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 10, 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.

How do I set the path variable in Windows 10? The easiest way is through View advanced system setting. There you can add, edit or delete a path variable. After that, select the path that’s of interest to you and modify it in any way you want.

For a more detailed process, check the guide below.

Steps to edit the path environment variable 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:

  • In the Windows search box type ‘advanced system settings’. Then, select View advanced system settings to open the window in the shot below. edit path variable in windows 10

 

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

  • 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, we 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 type cmd in the Windows search box.
  • 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, we 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\sub-folder\sub-folder software title to open a program. This certainly comes in handy if you’re not entirely sure what the software’s path is.

This is a fairly simple process and after following the steps above setting, editing, or changing the path environment variable in Windows 10 should be more or less a formality.

If you have any other questions about the process, feel free to leave them in the comments section below.

Editor’s Note: This post was originally published in April 2017 and has been since completely revamped and updated for freshness, accuracy, and comprehensiveness.

Discussions

Next up

Microsoft will mass delete inactive Xbox accounts starting August

John Taylor avatar. By: John Taylor
2 minute read

Recent news has surfaced that Microsoft’s new Terms of Service (TOS) state that inactive Xbox accounts will be permanently shut down. Naturally, the Xbox community […]

Continue Reading

SteamVR settings not working [2 FIXES THAT REALLY WORK]

Vladimir Popescu avatar. By: Vladimir Popescu
3 minute read

Some users trying to use Steam VR with the WMR (Windows Mixed Reality) headsets have reported that they can’t access the Steam VR settings. Here […]

Continue Reading

This Windows 10 search UI concept is similar to Mac’s Spotlight

John Taylor avatar. By: John Taylor
2 minute read

Reddit users recently published a few images featuring a brand new look for Windows 10’s search interface, which bears a striking resemblance to Mac OS’ […]

Continue Reading