VISIT THE NEW JOE SHAREPOINT BLOG AT WWW.JOESHAREPOINT.COM!

Wednesday, March 18, 2009

STSADM Shortcut

I think everyone should be able to recite the 12 Hive Path like the pledge of allegiance, but navigating through the file system in explorer or the command shell can be tedious. Use this batch file to open up a command window already in the /12/bin directory. Change the path if your target directory is different! If you don't trust batch files from ol' Uncle (SharePoint) Joe, then save the following line in notepad, and change the extension to .bat

cmd.exe /k cd "C:\program files\common files\microsoft shared\web server extensions\12\bin"

No comments: