Subject: | |
From: | |
Reply To: | |
Date: | Thu, 26 Jul 2007 20:56:43 +1000 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Peter wrote:
>I would like to run a program whenever my computer boots OR comes out of
>hibernation. Run on boot is easy, but how to detect a return from
>hibernation?>>
Peter---
As hibernation simply places whatever is already running into memory, I
doubt you can do exactly what you want.
There might be a workaround, though I've never tried it. If you could
identify which file executes the hibernation command (maybe hiberfil.sys in
root folder has something to do with it) you might be able to write a
simple batch file which will first open your desired program, then execute
the hibernation command.
In other words, you'd have to open your prog immediately before executing
hibernation. Just make sure that it's not one with dodgy drivers, or it
will mess up your hibernation function for sure.
Let us know if you ever figure it out. Maybe someone's written a utility
for it, but I've never heard of one.
Don Penlington
From the Beach at Surfers Paradise in sunny Queensland.
Computer tutorials, local scenery, and other things at my website:
http://users.tpg.com.au/deepend/index1.html
Do you want to signoff PCBUILD or just change to
Digest mode - visit our web site:
http://freepctech.com/pcbuild.shtml
|
|
|