AddToEnvPath is a tiny tool which I wrote to help me add some path to the Environment Path variable. Like this you gain easy access to tools like STSADM.EXE and GACUTIL.EXE no matter the command line location.

It works pretty simple: addtoenvpath <your path> eg. Addtoenvpath C:\MyFolder As I use the tool most of the times for setting the STSADM.EXE path, it’s been hard coded in the tool. The tool will add it (C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\) each time you run addtoenvpath without any parameters.

Download AddToEnvPath (2,16KB)