Adding to the PATH on Windows 10 and Windows 11 enables quick access to executable files and commands from any directory in the command prompt or PowerShell.
Here is a concise guide to adding to the PATH on Windows 10 and Windows 11:
- Open Start Search, type “env”, and select “Edit the system environment variables”.
- Click the “Environment Variables…” button.
- In the “System Variables” section, locate “Path”, and click edit.
- In the “Edit environment variable” UI, click “New” to add the new path. You can also edit or reorder existing paths.
- Dismiss all dialogs by selecting “OK”. Your changes are saved.
- Restart apps or the machine to ensure all apps identify the PATH change.
- To test, open a new PowerShell window and type-
$env:PATH
In this manner, you can add to the PATH on Windows 10 and Windows 11. Still, if you encounter any issues, get help from our technical team at your earliest.
Once your PATH is set, learn How to use CMD to Delete a File or a Folder