Easy access to STSADM when coding sharepoint

When developing sharepoint you cannot avoid using STSADM from time to time. In my case I got tired of navigating to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN to be able to run STSADM commands. If you find some of this familier you can add the above path to your Environment variables and you’ll gain access to STSADM no matter where in Command Prompt you are.

This is what you do.

  1. Start > Controlpanel > System > Advanced tab > Environment variables
  2. On the Systemvariables section find path
  3. Select edit
  4. In the variable value field add: “;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\” – BE SURE TO ONLY ADD AND NOT OVERWRITE!
  5. Click OK, OK and OK
  6. Reboot your system
  7. From now on you’ll have access to STSADM from anywhere in your command prompt

, ,

  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: