Thursday, April 9, 2009

STSADM by default in My Command prompt

SharePoint has a lot of programs to be performed on the command prompt as in the GUI in fact after so much interaction with SharePoint product I believe that stsadm is more reliable and faster then the UI, so when ever you have to perform an action on the SharePoint site you open the command prompt and type the command that world knows about

c:\Program Files\common files\Microsoft shared\web server extensions\12\bin

and then you proceed with you list of stsadm commands, but is there an easier way to do it ????.

well of course there is we can add the stsadm path to the hive for command prompt so you can just hit command prompt and run the stsadm commands

>> Copy the path for 12\bin

>> On the SharePoint server(s), go to my computer > Properties and the Advanced Tab

>> Here hit on the button Environment Variables > here you see two frames user variables and system variables, go to system variables

>> Here go to the “PATH” variables and say Edit

>> Here paste the copied url which is c:\Program Files\common files\Microsoft shared\web server extensions\12\bin

>> Say OK and Apply and close

>> Now open command prompt and run stsadm –o help

>> you should be able to see a list of stsadm commands

>> Congrats you just made your life a little easier with SharePoint which is as unusual as pigs got wings ….

1 comment:

Amos2526 said...

Hello friend ... have a nice day.....