Hands 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.
Related posts:
- Using PowerPoint 2010 themes in SharePoint 2010 In 6 Easy Steps Creating your own theme for SharePoint 2010 used to be...
- Media streaming through SharePoint part 3 Now that we had all of our media files in...
- Changing File Associations Icons in SharePoint 2010 One of the annoying things I have found using SharePoint...
- Media streaming through SharePoint part 2 At Twynham it has always been our ambition to deliver...
- Media streaming through SharePoint part 1 As I said in a previous post I would cover...
- SharePoint 2010 Drop Off Library Another new feature you may have seen in SharePoint 2010...








1 comment
2 pings
Richard Willis says:
March 12, 2010 at 3:11 pm (UTC 0 )
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
SharePoint and Server 2008 R2 (Better Together) « Chris and Dave's SharePoint And Tech Blog says:
April 2, 2010 at 11:19 am (UTC 0 )
[...] 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 [...]
SharePoint and Server 2008 R2 (Better Together) - SharePointEduTech says:
June 1, 2011 at 11:51 am (UTC 0 )
[...] 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 [...]