STSADM Path - access stsadm at anytime in command prompt
A quick way to access STSADM is to set a Path for the 12 Hive's bin folder. Doing this, you can type "stsadm" at anytime in a command prompt window to access the operations it provides.
Access Environment Variables
Go to your server's System Properties
- RClick 'My Computer' > Properties
Click Advanced tab
Click Environment Variables button
Select the variable Path in System Variables
Click Edit button
In the edit window, add the directory path for stsadm at the end. Make sure you add a semicolon before the path.
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\
Click the OK button
I'll typically do this on any MOSS server for ease of administration via command line. If you prefer a shortcut, check out another post: Shortcut to stsadm.exe. And if for some reason you just love using file explorer, you may like this post which details how to open a command prompt on any folder: GoToCommand - Open Command Prompt on any folder
- Dan Lewis
Comments
- Anonymous
January 13, 2015
It worked for me :) - Anonymous
February 16, 2016
thank you