Monday, October 18, 2010

shutdown through command prompt

If u want to shutdown windows through command prompt.Here is how?
1.Open command prompt.
         start-->Run---> Type "cmd"  w/o quotes

2.Now you can Type the following,on DOS screen

Shutdown –s
It will shutdown your computer in 30 seconds and display a message

shutdown –s –t 40 

 It will shutdown in 40 seconds but you can only go up to 86400 (24 hours) but if you make it 0 it will show no message and just shutdown immediately

shutdown –s –c ”This is Gone”

 It will shutdown with a message in a box under the time

shutdown –l

 It will just log  off the computer

shutdown -i

 It will display the GUI shutdown window

shutdown –r

will restart the computer

shutdown –a

 It will abort the shutdown.If you have written shutdown -t 300 means your system will shutdown after 5 minute.However if you realise that you shutdown must be cancelled, again write shutdown -a in command prompt

shutdown –f

 will force all running applications to close

For more assistance type Shutdown /?  in the command prompt

No comments:

Post a Comment