Every time you try to run the STSADM command, you always need to change the current command directory path to C:/ProgramFiles/.../12/Bin . To avoid that, do tha following thing. This will be helpful for the bulk shell scripts exetion wth the .
Control panel > System > Advanced system settings > Environment Variables >
Locate the “System Variables” section and select "Path" > Click edit.
Append the below string at the end of the line:
C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\BIN