An Environment variable is useful in the sense that it influences how software processes take place. The data stored in them play an important role in the process. Our tutorial will help you set up PATH variables so that you can run executables from your custom directories. These PATH variables store shortcuts, so you can create them for the programs of your choice. A prerequisite to push PATH variables through is to grant administrative privileges, so make sure you have them enabled. If you want a more detailed explanation of what System & User Environment Variables are, you can read the linked post.
How to set PATH variables manually on Windows 11/10
Without further ado, let’s see how you can add or edit a PATH Environment Variable in Windows 11/10:
You can now modify the existing route lines with the ones you want your computer to access. This stuff may seem overwhelming to some of you and has very deep implications for some important PC processes, so you’re advised to express utmost caution.
In order to add a new route, you can click on the ‘New’ button. You can delete a Path the same way. Here, you can just paste the Path of your choice, and if you’re unsure of it, then you can use the Surf option to go about searching for it. Once you’re done, click on Ok and a new PATH variable will now exist. Our guide here explains how you can add Environment Variables to your Windows Context Menu. Read: How to see Names and Values of Environment Variables in Windows
How do I change Environment Variables without admin rights?
Granting administrative rights may not be as easy when the PC isn’t yours, but you can still make changes to your environment variables. Via the Control Panel, you can modify the environment variables on a user account, but not System variables. Here’s how you can do that:
Open the Control PanelSelect to view them as ‘Small icons’ and click on User AccountsHere, you’ll see an option to your left named ‘Change my environment variables’This will open the same Environment Variables dialog box as before, except now the System Variables aren’t accessible and you can only make changes to User variables
TIP: Rapid Environment Editor is a powerful free Environment Variables Editor for Windows.
How do I change the Path in Windows Command Prompt?
A command line on your Windows Terminal (Command Prompt) can help you add a Path to your Path environment variable. The changes that we have discussed above can be implemented via the Command Prompt as well, but again, are limited to the User’s environment only. Here’s how:
Search ‘CMD’ on the Taskbar search menu and select to run it as the administratorEnter the command ‘Pathman /au’ and follow it by the Path to the directory you want to append.Similarly, you can use a ‘Pathman/ru’ command to delete an existing Path to a directory
We hope that this post was helpful for you and that you can now take care of your Path environment variables with ease.