Announcement

Collapse
No announcement yet.

emulate power button in windows?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • emulate power button in windows?

    Is there a program that I can use to emulate pressing the power button under Windows XP? I want to be able to hibernate my computer without having the physically touch the power button.

  • #2
    Well...kind of. I use a program called "quick shut down". Here is the link.

    http://www.newfreeware.com/desktop/249/

    It lets you decide what to do on either a single or double click. It is not an icon, however, it sits in the right hand tray. Maybe you can tweak it from there?
    2005 Ford Focus ST

    Comment


    • #3
      Actually, you may want to try this: http://www.cba.nau.edu/facstaff/love...ckShutdown.htm
      may be easier, and it is actually an icon. But it actually is made to shut down or restart. Maybe a tweak can be made?
      2005 Ford Focus ST

      Comment


      • #4
        make a shortcut to this:

        c:\windows\system32\shutdown /h
        - Lwin M. Maung
        If it's stuck, force it. If it breaks it needed replacing anyway

        Comment


        • #5
          Just tried that...doesnt seem to do anything. It pops up a dos looking screen for a split second, then goes back to normal. Is there something I am leaving out?
          2005 Ford Focus ST

          Comment


          • #6
            Oh.

            Try this: Go to dos prompt and type in shutdown -?

            It will tell you options. I have the shutdown.exe from win2003 and that has a lot more options than xp shutdown.
            - Lwin M. Maung
            If it's stuck, force it. If it breaks it needed replacing anyway

            Comment


            • #7
              Here are the shutdown options on win2003.

              C:\Documents and Settings\lwin>shutdown -?
              Usage: shutdown [/i | /l | /s | /r | /a | /p | /h | /e] [/f]
              [/m \\computer][/t xxx][/d [p:]xx:yy [/c "comment"]]

              No args Display help. This is the same as typing /?
              /? Display help. This is the same as not typing any options
              /i Display the graphical user interface (GUI).
              This must be the first option
              /l Log off. This cannot be used with /m or /d option
              /s Shutdown the computer
              /r Shutdown and restart the computer
              /a Abort a system shutdown.
              This can only be used during the time-out period
              /p Turn off the local computer with no time-out or warning.
              This can only be used with /d option
              /h Hibernate the local computer.
              This can only be used with the /f option
              /e Document the reason for an unexpected shutdown of a computer
              /m \\computer Specify the target computer
              /t xxx Set time-out period before shutdown to xxx seconds.
              The valid range is 0-600, with a default of 30
              /c "comment" Comment on the reason for the restart or shutdown.
              Maximum of 127 characters allowed
              /f Force running applications to close without forewarning users
              /d [p:]xx:yy Provide the reason for the restart or shutdown
              p indicates that the restart or shutdown is planned
              xx is the major reason number (positive integer less than 256)
              yy is the minor reason number (positive integer less than 65536)
              - Lwin M. Maung
              If it's stuck, force it. If it breaks it needed replacing anyway

              Comment


              • #8
                Sweet! thanks for the tips
                2005 Ford Focus ST

                Comment


                • #9
                  Crappy. I just found out i can't hot switch my computer, thought this thread might be about emulating something for a shutdown controller.
                  CarComputer Status: New Car & Broken (Motherboard Fried)
                  Owen JH | My Linux Blog | The Tech Fellows

                  Comment


                  • #10
                    Just found exactly what I needed, someone made a simple C++ program for both suspend and hibernate. link

                    I needed it to add a hibernate button to myHTPC.

                    Comment


                    • #11
                      I use TweakXP Pro, http://www.totalidea.com/frameset-products.htm. It's not free but it does put three icons on you desktop for Shutdown, Hibernate and restart. Not to mention 100's of other tweaks that are quite helpfull.

                      Comment


                      • #12
                        Originally posted by kami333
                        Just found exactly what I needed, someone made a simple C++ program for both suspend and hibernate. link

                        I needed it to add a hibernate button to myHTPC.
                        I use myHTPC for my house and I just point a button to : c:\windows\system32\shutdown /h
                        - Lwin M. Maung
                        If it's stuck, force it. If it breaks it needed replacing anyway

                        Comment


                        • #13
                          Are you running W2k3? I tried that under XP and it didn't do anything and it doesn't show up in help either.

                          Comment

                          Working...
                          X