HolidayBuyer's Guide

Computer Help forum

General discussion

How make batch file play automaticly before standby

by glnz / November 29, 2009 4:04 AM PST

How do I make a batch file re-play itself automatically every 30 minutes? OR, better, how do I make a batch file 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 they 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.

Discussion is locked
You are posting a reply to: How make batch file play automaticly before standby
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: How make batch file play automaticly before standby
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Link, comment
by Kees Bakker / November 29, 2009 4:14 AM PST
Collapse -
Use ONIDLE?
by glnz / November 29, 2009 4:23 AM PST
In reply to: Link, comment

Thanks for tip! The ONIDLE command looks interesting - maybe set it for one minute before automatic standby?

Collapse -
Batch follow-up
by glnz / November 29, 2009 7:53 AM PST
In reply to: Use ONIDLE?

Mr. Bakker - One more Q - is there a batch file command for "Go to Sleep/Standby"?

Collapse -
Hint. Command line. Explore what this says.
by R. Proffitt Forum moderator / November 29, 2009 10:17 AM PST
In reply to: Batch follow-up

SHUTDOWN

Popular Forums
icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

The Samsung RF23M8090SG

One of the best French door fridges we've tested

A good-looking fridge with useful features like an auto-filling water pitcher and a temperature-adjustable "FlexZone" drawer. It was a near-flawless performer in our cooling tests.