This guide explains how to add to the PATH on Windows 10 and Windows 11, enabling quick access to executable files and commands from any directory in Command Prompt or PowerShell.

Steps to Add to the PATH on Windows 10 and Windows 11:

  1. Click Start, type “env”, and select “Edit the system environment variables.”
    edit the system
  2. In the System Properties window, click the “Environment Variables…” button.
    environment variables
  3. Under the System Variables section, find “Path,” and click “Edit.”
    path>edit
  4. Add or Modify Paths:
    1. In the Edit Environment Variable window, click New to add a new path.
    2. You can also edit or rearrange existing paths if needed.
      new
  5. Close all dialogue boxes by clicking “OK” to save your changes.
  6. Restart applications or your computer to ensure the PATH changes take effect.
  7. Test the PATH Update:
    1. Open a new PowerShell window and type:
      $env:PATH
    2. Confirm that the updated PATH is displayed.

Was not it easy? If you like our article, then you will surely love our support. For further assistance, feel free to contact our support staff.

Read Also: How to Install Linux Windows Subsystem on Windows 11: Easy Guide

Popular Posts You May Read

Explore more hosting insights, tips and industry updates.

How to configure Word-Press MU in cPanel?

If you want to start internal blogging community in your organization for employees, where each…

How to Change Directories in Command Prompt (CMD)

This article explains how to change directories in CMD easily. When working in the Windows…

How to configure the Apache Timeout directive via WHM

How to Set the Apache Timeout Directive via WHM

In WHM (Web Host Manager), you can configure the Apache Timeout directive through the Apache…