Adding a directory to the PATH environment variable in Windows

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

    Regarding point 2 I'm using a simple batch file that is populating PATH or other environment variables for me. Therefore, there is no pollution of environment variables by default. This batch file is accessible from everywhere so I can type:

    c:\>mybatchfile
    -- here all env. are available
    c:\>php file.php
    

提交回复
热议问题