Adding a directory to the PATH environment variable in Windows

前端 未结 18 1883
我在风中等你
我在风中等你 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:55

    As trivial as it may be, I had to restart Windows when faced with this problem.

    I am running Windows 7 x64. I did a manual update to the system PATH variable. This worked okay if I ran cmd.exe from the stat menu. But if I type "cmd" in the Windows Explorer address bar, it seems to load the PATH from elsewhere, which doesn't have my manual changes.

    (To avoid doubt - yes, I did close and rerun cmd a couple of times before I restarted and it didn't help.)

提交回复
热议问题