For alot of SharePoint administration you have to use the STSADM.EXE command line utility which can be found in the SharePoint Hive (C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN). To run it, you have to navigate to that directory which can be quite painful when you need to access it over & over again (unless you have setup some shortcuts to this folder).
However, I have found a tip today that eradicates the need to type out the navigation path, by adding the directory to the PATH environment variable, you are able to use this utility from any directory.
Here goes:
1)Go to Start -> All Programs -> Control Panel -> System
2) On the Advanced tab, click the Environment Variables button. Select the "Path" variable and click the Edit button.
However, I have found a tip today that eradicates the need to type out the navigation path, by adding the directory to the PATH environment variable, you are able to use this utility from any directory.
Here goes:
1)Go to Start -> All Programs -> Control Panel -> System
2) On the Advanced tab, click the Environment Variables button. Select the "Path" variable and click the Edit button.
3)Add the following to the end of the Variable value field: ;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN (don't forget the semicolon... the Path environment variable is a semicolon delimited string of directories)
4) Click OK.
You may have to restart after this & from here on you will be typing less as you can use the stsadm.exe from any direcory path :)
No comments:
Post a Comment