How to Make Batch File Replay Automatically

Dell / OPTIPLEX 755
November 29, 2009 at 11:50:16
Specs: Windows XP, Intel 2 Duo Core
How do I make a batch file re-play itself automatically every 30 minutes? OR, better, how do I make it play automatically just BEFORE the PC (WinXPPro SP3) goes into Standby?

Why do I ask? I'm having trouble with Wake on Ring. I want my Conexant modem card ALWAYS to answer my fax line and receive faxes, but it is NOT reliable about waking up when the PC is in standby. Sometimes it does, and sometimes it doesn't and I miss faxes.

So I wrote a very short batch file that has two powercfg command lines that seem to work in reminding the PC and the Conexant modem card that it should Wake on Ring during Standby. How do I get this batch file to play automatically either just before standby or (second-best) every 30 minutes or so when the PC is awake?

Thanks.


See More: How to Make Batch File Replay Automatically

Report •


#1
November 29, 2009 at 12:05:03
Use task scheduler.

-Ryan Adams

Free Computer Tips and more:http://RyanTAdams.com
Paid Tech Support: Black Diamond


Report •

#2
November 29, 2009 at 12:07:50
OK. What about automatically just before the PC goes into standby?

Report •

#3
November 29, 2009 at 12:58:11
How about make your batch file configure the power options, then initiate a standby (http://www.google.com/search?sourceid=navclient&ie=UTF-8&rlz=1T4GGLL_enUS333US333&q=command+line+standby). Disable your computer's Stand By after a set time in the Power Configuration, and instead set up a schedueld task to run the batch file when the computer has been idle for X minutes.

-Ryan Adams

Free Computer Tips and more:http://RyanTAdams.com
Paid Tech Support: Black Diamond


Report •

Related Solutions

#4
November 29, 2009 at 15:47:53
RTAdams - If I do that, what is the batch file command for "Go to Sleep/Standby"? Thanks.

Report •

#5
November 29, 2009 at 16:34:52
I don't want to give you just one command, since it depends on if you are using home/pro, having hibernation enabled, etc. See the Google link I provided, and I'm sure you will find the answer that works for your specific setup.

-Ryan Adams

Free Computer Tips and more:http://RyanTAdams.com
Paid Tech Support: Black Diamond


Report •

#6
November 29, 2009 at 22:04:52
Why not just disable sleep mode?

Report •


Ask Question