Sunday, November 2, 2014

Alternative to updating PATH in windows

I didn't want to keep updating the windows PATH.

e.g. I had installed maven to C:\tools\apache-maven-3.0.5.

I created a directory C:\utils and added it to the front of PATH.

In C:\utils, I created mvn.bat with this content:

C:\tools\apache-maven-3.0.5\bin\mvn.bat %*