TechSpot

Shut Down Command

By HiJackThis1.99
Jun 4, 2006
  1. XP OS


    Is there a command such that it shuts down the computer?

    I found something called,
    C:\WINDOWS\System32\shutdown.exe
    But it does nothing.
     
  2. Spike

    Spike TS Evangelist Posts: 2,168

    shutdown.exe....



    Of course, There's an alternative command I personally find far more useful -TSSHUTDN.exe ...

    Another method to generate a shutdown is to use the "taskkill /IM process.exe" command to end a process your not supposed to, but first you have to know what such processes you can end with it :)
     
  3. WinDoWsMoNoPoLy

    WinDoWsMoNoPoLy TS Rookie Posts: 252

    You could of easily googled this :D

    For restart:
    SHUTDOWN -r -t 01

    For shutdown:
    SHUTDOWN -s -t 01

    -r or -s tell the computer to shutdown or restart, -r being restart -s being shutdown

    -t 01 means timeout, so with 01 it will wait 1 second to issue the command.

    EDIT: Seems me and spike were doing the same thing, haha.
     
  4. Spike

    Spike TS Evangelist Posts: 2,168

    I must confess - I did go straight to google, but quickly realised that all I needed was a cmd window. lol
     
  5. kangaruffian

    kangaruffian TS Rookie Posts: 175

    :haha: :haha:

    dig in windoze or system32 u found lotsa programs just open command prompt and type exsample: append /? and hit enter.. all switch etc. pop up

    google is very usefull tool too :D
     
  6. Spike

    Spike TS Evangelist Posts: 2,168

    Indeed. I know most of them and what they do already anyway lol. It's their switches I forget all the time. :D
     
Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...