Hi friends to day i am describing here how to shutdown pc with dos prompt!!!
Open your command prompt (Start->run and type cmd )
Type ...shutdown -s(it"ll give you 30 secs to save your work and then it will shutdown)
For restart type shutdown -r
and for logoff type shutdown -l
It works only in Windows XP...
THANK YOU....