Adding a directory to the PATH environment variable in Windows

前端 未结 18 1340
我在风中等你
我在风中等你 2020-11-21 05:13

I am trying to add C:\\xampp\\php to my system PATH environment variable in Windows.

I have already added it using the Environment Varia

18条回答
  •  旧巷少年郎
    2020-11-21 05:57

    On Windows 10, I was able to search for set path environment variable and got these instructions:

    1. From the desktop, right-click the very bottom-left corner of the screen to get the Power User Task Menu.
    2. From the Power User Task Menu, click System.
    3. In the Settings window, scroll down to the Related settings section and click the System info link.
    4. In the System window, click the Advanced system settings link in the left navigation panel.
    5. In the System Properties window, click the Advanced tab, then click the Environment Variables button near the bottom of that tab.
    6. In the Environment Variables window (pictured below), highlight the Path variable in the System variables section and click the Edit button. Add or modify the path lines with the paths you want the computer to access. Each different directory is separated with a semicolon, as shown below:

    C:\Program Files;C:\Winnt;C:\Winnt\System32

    The first time I searched for it, it immediately popped up the System Properties Window. After that, I found the above instructions.

提交回复
热议问题