Introduction
Recently, I needed to add a directory to the PATH system variable of Windows 10. The PATH is a system variable that allows Windows to locate executables from the command line or the Terminal window.
In this article, I will show you how to add a folder to the Windows 10 PATH variable.
Step 1. Press WIN+S to launch Windows Search on your Windows 10 machine. You will see Search Textbox.
Step 2. Type “environ..” in the Windows Search Textbox. You will see “Edit the system environment variables” as a result of the Best match list. Select this option.
Step 3. This will launch the System Properties window. On this window, we can review Computer Name, Hardware, and other Advanced properties.
On the Advanced tab, we can set Performance, User Profiles, and Startup and Recovery options. The last button is the Environment Variables. Click on this button.
Step 4. It will launch the Environment Variables window where you can see all variables and their values. As you can see from the following window, there are User variables and System variables.
In System variables, one of the variables is Path. See in the above image.
Step 5. Double click on the Path variable.
You will see a list of all Path variables where you can edit them, add a new Path variable, and delete an existing variable.
Step 6. Click on New button. It will enter a new editable row where you can type a new path.
Step 7. Click OK. Your PATH variable is now added.
Watch this video for more details: