Home Windows Windows XP How to shutdown Windows XP via the Command Prompt?
 
 
 

How to shutdown Windows XP via the Command Prompt?

PDF Print E-mail

Question: How to shutdown Windows XP via the Command Prompt?


Answer: 

  • First we need to open the Command Prompt
    • Press WINDOWS KEY+R together to open the Run window and type in the command below and hit OK to open Command Prompt.
      cmd
    • Or click on Start->All Programs->Accessories->Command Prompt to open the Command Prompt.
  • Once the Command Prompt window has opened we can type in the 'shutdown' command. The shutdown command has many options, below we will use some examples
  1. Example 1
  • Shutdown PC
    • -s = Tells the shutdown command to shutdown
      shutdown -s
  1. Example 2
  • Shutdown PC within 30 seconds
    • -s = Tells the shutdown command to shutdown
    • -t  = Specify time followed by a open space followed by the number of seconds
      shutdown -s -t 30
  1. Example 3
  • Shutdown PC within 30 seconds and displaying a message
    • -s = Tells the shutdown command to shutdown
    • -t = Specify time followed by a open space followed by the number of seconds, we add another blank space after the amount of seconds with a message, this message will display when the seconds countdown begins
      shutdown -s -t 30 "Ready to shutdown!!! Hurry Up!!!"
  1. Example 4
  • Canceling the shutdown process (First need to have Command Prompt open)
    • -a =  Tells shutdown to cancel
      shutdown -a

NOTE
: In order to view all options for the shutdown command, open the Command Prompt and enter the command below
shutdown /?
this will display a list of options on how to use this command.
+/-
+/- Write comment
Your Contact Details:
Comment:
[b] [i] [u] [url] [quote] [code] [img]   
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
Security Please input the anti-spam code that you can read in the image.
 

Go Daddy $7.49 .com Sale!