This post shows students and new users the steps to add or edit Windows PATH environment variables in Windows 11. By default, most programs will add their own custom shortcuts to Windows environment variables.
The PATH The variable is one of the most used variables in Windows. Allows users to run any executable found within paths without having to give the full path to the executable.
Without variable shortcuts, users will need to run or provide custom paths and directories for important program files and functions. Environment variables create shortcuts to executables within specified paths.
Here’s how Windows PATH environment variables can be added or edited so that they can run executables from their own custom directories.
How to set path and environment variables in Windows 11
As mentioned above, PATH and environment variables create shortcuts to executables and directories. It allows custom programs to be started and used efficiently in Windows.
Administrator privileges are required to modify the path and environment variables.
Here’s how to add or edit Windows PATH and environment variables in Windows 11.
First, go to the Windows Settings app. To access the Settings application, you can use the Windows key + i shortcut or click Start ==> Settings as shown in the following picture:
Alternatively, you can use the search box on the taskbar and find Settings. Then select to open it.
The Windows settings panel should look similar to the image below. In Windows settings, click Systemand select the About tile on the right panel of the screen shown in the image below.
About him About screen, click Advanced system settings link as highlighted below.
In the System Properties window, click the Advanced tab, then click the Environment Variables near the bottom of that tab.
Usually you’ll want to add to system variables so everyone on the system can use it. If you use the User variable, only a user who adds it can use the variable.
Highlight the Path variable in the System variables section and click the Edit button.
Then add or modify the route lines with the routes that you want the computer to access. Each directory path is separated with a semicolon, as shown below.
You can click the New button to add new routes or edit to modify the existing route. Delete will delete a route.
If you know the path, just write it down or copy and paste it. If you prefer, you can also click Surf and then navigate to the desired path that you want to include in the system path variables.
Each directory path is separated with a semicolon, as shown below.
You should do that.
In this tutorial we have seen how to add or edit PATH environment variables in Windows 11. If you find any errors above or have something to add, use the comment form below.