To get around this, just add the stsadm path (c:\program files\common\microsoft shared\web server extensions\12\bin) to the Path environment variable. The steps to do this are:
- Right-click My Computer and go to properties
- Click the Advanced tab
- Click the Environment Variables button
- Under the System Variables list, look for the Path variable.
- Double-click the Path variable to edit it.
- Add ;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN or add the shortcut ;%CommonProgramFiles%\Microsoft Shared\Web Server Extensions\12\BIN to the end of the Path variable
- Click OK three times and you are done! Now, if you go to the command prompt, you do not have to drill down to the stsadm path. You can use it directly since the path is saved in the Path environment variable.
1 comment:
Good idea. What I did to overcome this was to drag the stsadm.exe to my desktop (creating a shortcut), then edited the properties of the shortcut and changing the target to C:\WINDOWS\system32\cmd.exe. Now, when I double click it, it opens a command prompt, with the starting path in the bin folder.
Post a Comment