Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Hack:   Automating Shutdown
Subject:   Sounds Good, but didn't work properly.
Date:   2005-04-23 06:15:16
From:   JGTOReilly
My sysetem's OS is Windows XP Pro. This hack was exactly what I was looking for and it sounded logical. I set it up per the directions, but it didn't work. All it does when I try to run the BAT is flash a DOS screen on up so fast I can't even tell if it says anything. Is something missing in the directions? I have created a BAT file called PowerDown.BAT. The file contains one line with the word "shutdown-s" (no quotes). Shouldn't there be a comand before the action? Thanks
Full Threads Oldest First

Showing messages 1 through 5 of 5.

  • Sounds Good, but didn't work properly.
    2006-05-15 17:27:58  viberg220 [View]

    you need to have a space between shutdown and -s
  • OS: XP Pro Update
    2005-04-23 06:51:10  JGTOReilly [View]

    I should have investigated this Hack a little more thoroughly, before my last post. The BAT file line should read "shutdown.exe -s" (with no quotes), for the hack to run properly in an XP Pro environment. Everything else is as the original author states. Follow his directions and use “shutdown.exe -s" (with no quotes) in place of his suggestion for the BAT file line and you should have a BAT file that you can have your Task Scheduler run it at your specified time. Hope this hack helps more. I used this Hack to shutdown my computer at a specific time and it worked flawlessly in my XP Pro environment. I didn’t test it in any other OS’s. Be sure to turn off the scheduled task when you don’t what it to function.
    Slick no frills easy logical hack!
    Your Welcome
    • OS: XP Pro Update
      2005-05-12 08:48:29  cedricktattoo [View]

      Very interesting. I use XP Pro, too, and this hack works perfectly as I originally wrote it for my XP system. It's even worked on other XP Pro systems used by a couple of friends. However, if substituting "shutdown.exe -s" still allows the hack to work for you and others, cool! The actual DOS command is "shutdown" and not "shutdown.exe," so it would be interesting to investigate why "shutdown.exe" worked on your system but "shutdown" did not. Has anyone else ever had this problem, I wonder?
      • OS: XP Pro Update
        2005-09-12 20:29:44  Overlord [View]

        Typing "shutdown" will run either Shutdown.bat, Shutdown.exe, or Shutdown.com. Since you named the batch file shutdown.bat, the command "shutdown" (without an extension) in the batch file makes it run the batch file over and over, as in; hey, run shutdown.bat. If you name the batch file anything else such as "KillPC.bat you will have no problems with Winders getting confused over which file to run.
      • OS: XP Pro Update
        2005-05-24 20:26:47  kewlbreeze [View]

        I am working on it now will let you know what
        happens

Showing messages 1 through 5 of 5.