In my last blog I talk about adding the STSADM command path as the first line of your scripts. However, you can just create a Variable Path that points to STSADM, and never worry about typing out it's location ever again from a command prompt. Here is how to add a path variable in Server 2008.
- Start menu --> right-click Computer --> Properties.
- From the Properties window, click Advanced system settings.

- Click Environment Variables.

- Under System variables, scroll down and select the Path Variable --> Edit.

- Add a semi-colon (;) at the end of the last Variable value and paste in the path to STSADM:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN
No comments:
Post a Comment