I'm kind of a shortcut nut - and the constant looking for stsadm utility has been driven me nuts. You can't create a shortcut directly to it. And once you do get past, "where is it again... common?", I keep finding myself asking "what was that command again?". So, I decided to rid myself of these two common issues I keep having.
-
Create a shortcut on your desktop to cmd.exe (it's here: %SystemRoot%\system32\cmd.exe)
-
Right-Click on the shortcut and select Properties so you can go edit them (our stuff is on Shortcut Tab)
-
Change the Target to: %SystemRoot%\system32\cmd.exe /K stsadm.exe -help
-
Change the Start in to: "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\"
-
Click Change Icon, and browse to stsadm to select it: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\stsadm.exe
-
Click OK until all of your windows are closed.
-
Rename your shortcut to stsadm
There you go! You now have a fake shortcut to stsadm. When it intitally runs, it will display all of the available operations for you (just need to scroll up).
- Dan