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
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