title: Set windows environment variables with a batch file
body: <p>I was looking for a way to set the environment path variable with a .cmd file.<br>
  When the path variable was getting too long, I got some errors.<br>
  Just add the needed variables to 'Set Path variable' below<br>
  Check the current value of your path variable and add to the script<br>
  <strong>Run the script as administrator!</strong><br>
  Open a new console window and it should work e.g. php -v</p>