Results 1 to 4 of 4

Thread: MS-Dos shutdown command?

  1. #1
    Join Date
    Apr 2009

    MS-Dos shutdown command?

    What is the shutdown command for windows? I want to shutdown the pc through command prompt, and even for restart which command to use?

  2. #2
    Join Date
    Oct 2008

    Re: MS-Dos shutdown command?

    Shutdown is the command for shutdown. and There is no commands built into DOS for rebooting, though you might be able to find an utility to do such.

  3. #3
    Join Date
    Mar 2008

    Re: MS-Dos shutdown command?

    You only need to use the -r parameter with shutdown command for reboot. About Shutdown Command

    shutdown [{-l|-s|-r|-a}] [-f] [-m [\\ComputerName]] [-t xx] [-c "message"] [-d[u][p]:xx:yy]

    • -l : Logs off the current user, this is also the defualt. -m ComputerName takes precedence.
    • -s : Shuts down the local computer.
    • -r : Reboots after shutdown.
    • -a : Aborts shutdown. Ignores other parameters, except -l and ComputerName. You can only use -a during the time-out period.
    • -f : Forces running applications to close.
    • -m [\\ComputerName] : Specifies the computer that you want to shut down.
    • -t xx : Sets the timer for system shutdown in xx seconds. The default is 20 seconds.
    • -c "message" : Specifies a message to be displayed in the Message area of the System Shutdown window. You can use a maximum of 127 characters. You must enclose the message in quotation marks.
    • -d [u][p]:xx:yy : Lists the reason code for the shutdown. The following table lists the different values.

  4. #4
    Join Date
    Dec 2008

    Re: MS-Dos shutdown command?

    The difference between stupidity and genius is that genius has its limits. - Albert Einstein

    What we think, we become (Please don't think you are a superhero and don't try to fly)


Similar Threads

  1. Replies: 3
    Last Post: 07-02-2012, 12:03 PM
  2. Stop shutdown command
    By prash_mate in forum Windows XP Support
    Replies: 3
    Last Post: 04-07-2011, 10:51 PM
  3. Need some basic of linux shutdown command
    By Toraidio in forum Operating Systems
    Replies: 4
    Last Post: 06-04-2010, 05:21 PM
  4. Linux and UNIX shutdown command help
    By Morea in forum Operating Systems
    Replies: 4
    Last Post: 27-03-2010, 09:32 PM
  5. shutdown command not found
    By Saaz in forum Operating Systems
    Replies: 3
    Last Post: 03-07-2009, 11:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts