Windows

How to Add or Edit PATH Variables in Windows 11

Richard
Written by
Richard
Dec 16, 2021 Updated Apr 15, 2026 2 min read
How to Add or Edit PATH Variables in Windows 11

This guide explains how to manage Windows PATH environment variables in Windows 11. These variables act as shortcuts for your computer. They help Windows find programs quickly without needing the full file address every time.

Why use PATH variables?

Without these variables, you would have to type the exact location of a program file every time you want to run it. By adding a folder to your PATH, you tell Windows exactly where to look for your favorite tools. This makes launching applications from the command line much faster and easier.

What happens when done?

Once you finish these steps, Windows will recognize the new folders you added. You will be able to run programs or scripts inside those folders from any location on your PC without typing the full path.

How to edit PATH variables

Note: You must have administrator privileges to modify system-wide PATH variables.

First, open the Windows Settings app Settings app. You can press the Windows key + I on your keyboard or click Start and select Settings.

windows 11 start settings

In the Settings menu, click System, then scroll down and select About.

windows 11 about

Click the Advanced system settings link found on the screen.

windows 11 advanced system settings

A new window called System Properties will open. Click the Advanced tab, then click the Environment Variables button at the bottom.

Windows 11 advanced environment variables settings screen

You will see two sections. Use User variables if you only want the change to apply to your account. Use System variables if you want the change to apply to everyone using the computer.

Highlight the Path variable in the System variables section and click the Edit button.

Adding or editing environment variables in Windows 11

Now, you can manage your folders:

  • Click New to add a new folder path.
  • Click Edit to change an existing path.
  • Click Delete to remove a path.

You can type the path directly or click Browse to find it on your computer. Each path must be separated by a semicolon, for example:

💻Code
C:\Program Files;C:\Winnt;C:\Winnt\System32
Process to add environment variables in Windows 11

Click OK on all open windows to save your changes.

Summary

Managing your PATH variables is a great way to make your computer more efficient. By following these steps, you can create shortcuts that allow you to launch your favorite programs instantly. Remember that changing system-level variables requires administrator access.

Was this guide helpful?

Tags: #Windows 11
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

2471 articles → Twitter

📚 Related Tutorials

How to Access Settings in Windows 11
Windows How to Access Settings in Windows 11
How to Display Full Path in Windows 11 File Explorer
Windows How to Display Full Path in Windows 11 File Explorer
How to Access Command Prompt in Windows 11
Windows How to Access Command Prompt in Windows 11
How to Disable Command Prompt in Windows 11
Windows How to Disable Command Prompt in Windows 11

0 responses to “How to Add or Edit PATH Variables in Windows 11”

  1. I can’t do it, let me have a problem, when I press Edit PATH it shows Edit User Variable not showing Edit environment variable can you help me?

  2. You can just type “env” in the search field (magnifying glass) to go directly to the Environment Variables in Windows 11.

Leave a Reply

Your email address will not be published. Required fields are marked *