View Single Post
Pegasus [MVP]
Posts: n/a
      27th Mar 2009

"Leonid" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi.
> Is there any way to have a script run when the computer comes out of
> standby? I need to re-enable a device I have whenever the computer
> comes out of standby.
> Thank you in advance,
> Leon.

How do you put your machine into standby mode? If you can do it via a
shortcut then then all you need to do is get it to run this batch file:

@echo off
Rundll32.exe PowrProf.dll,SetSuspendState
ping localhost -n 3 > nul
[code to re-enable your device goes here]

Reply With Quote