Easy Access To STSADM
Dave Coleman | March 11, 2010Hands up who is fed up with navigating to “c:\program files\common files\Microsoft Shared\Web Server Extensions\12\bin\” just to use the STSADM tool?
Well there is an easier way. Back in the day I used to use DOS “yes I am that old” Well I used to use Path statements in my autoexec.bat files which meant that I could run command line tools from anywhere in the file system. Now you can also do this in modern server systems by going to System properties – Environment Variables and then edit the path statement in system variables if you then add the path to STSADM in the Variable value and reboot your server you can then run the STSADM tool from a command prompt from any location in the file system. Easy to do and makes life so much easier.









You don’t need to reboot to pick up the changed path. The next time you open a command prompt or PowerShell it will use the updated path variable.
Thanks Richard
[...] locations and easy access to your SharePoint files. If you then tie this tip in with my previous “Easy access to STSADM” you can then save yourself hours of navigating via a command prompt and windows [...]