Navigation

Tuesday 19 August 2008

How to access STSADM from any directory

This is a nice quick tip for the August holiday season.
 
Open up the following:
 
Start --> Control Panel --> System
system_dialog
 
 
This should open up the System Properties dialog.
 
Go to the Advanced Tab and click on Environment Variables.
 
environment_var
 
Find the variable called "Path" and append this to the end:
;c:\program files\common files\microsoft shared\web server extensions\12\bin
 
env_var_path
 
That should be it.
 
You may need to re-open ay Command Prompt windows before you can use this.
 
Now you can just call "stsadm.exe" from any command prompt window!
 
Note - If you find type "stsadm.exe" a bit laborius, try adding another one:
Name: STSADM
Value: stsadm.exe
 
env_var_stsadm
 
Hopefully you get how this would work


No comments:

Post a Comment

This blog has been moved to www.martinhatch.com

Note: only a member of this blog may post a comment.