by Dr. Xin Feng, 04/11/01
[05/01/03] New! - XIN Screensaver, which allows you to do anything when screensaver is activated.
Have you found a way to shutdown or suspend your PC with just one click? I have not, and that's why I made a little EXE file to do so. After downloading it, unzip it to your desktop, or anywhere you like and make a shortcut to your desktop. Now, just double-click the EXE file or its shortcut and your PC will suspend or hibernate right away. A side tip: change the icon of the shortcut to the one you like, such as this one showing in the picture.
There are actually two EXE files in the downloaded zip file: suspend.exe and hibernation.exe. For Windows 98, you can use either of them and it'll go suspending, or hibernation if your PC's BIOS supports it. For Windows 2000, suspend.exe will always suspend your PC only. Hibernation will hibernate your PC if you enabled that in your power options in control panel; otherwise it will suspend it instead.
Another use of them is to shutdown your PC at a scheduled time. To do so, simply run it with Scheduled Tasks. If you also want to turn your PC on at a scheduled time, you can set that in BIOS.
Note: these two EXE files will force suspending or hibernation immediately and unconditionally. They will never complain that a program or a device prevents to do so. This is the another reason I made them. These two utilities are for those who want their PC go sleep whenever they want. They may cause data loss though (although I don't think so, but I have to warn you) and I bear no responsibility for that. If you run them on Windows 2000, you may need to be an administrator.
Click here to download this great utility I made for you. Once you try it once, you can no longer live without it, just like me. It may complain that a required DLL is missing. If so, let me know what's missing and I'll post the missing file here.
[04/12/01] I rebuilt the program so that it trys unforced suspending/hibernation first and, if that failed, it then forces the action. This way, it avoids unnecessary potential data loss unless it has to and still gives you a guaranteed shutdown.
[08/22/02] If you like to know how to program for power management under Win2000, here is the book: "Windows 2000 Developer's Guide" by Ben Forta et al.
Copyright © 2005
Xin Feng Company