Switch WIndows XP to standby mode every 2 hours and resume normal after 1 minute

K

Kent

Dear all,

For some special reasons, I want to switch my notebook to standby mode and
resume normal operation immdeiately after 1 minute at every 2 hours. I
assume it can be done by the schedule task function in Windows, but don't
know how to set the task.

Please help


Kent
 
P

Pegasus [MVP]

Kent said:
Dear all,

For some special reasons, I want to switch my notebook to standby mode and
resume normal operation immdeiately after 1 minute at every 2 hours. I
assume it can be done by the schedule task function in Windows, but don't
know how to set the task.

Please help


Kent

To put the laptop to sleep, schedule this command to run at the full hour
every two hours with a run time of 24 hours:
Rundll32.exe PowrProf.dll,SetSuspendState

To wake it up one minute later, schedule some simple command to run one
minute past the full hour every two hours with a run time of 24 hours, e.g.
attrib.exe
To make this one work, you must tick the box "Wake the computer to run this
task" under the Settings tab. It only works if supported by the power
management implemented on your laptop.
 
K

Kent

Thank you Pegasus.
If I now want to quit from an application software, say, outlook express
every 2 hours and resume it 1 minute later, how it can be done?
"C:\Program Files\Outlook Express\msimn.exe"


Kent
 
P

Pegasus [MVP]

You create a scheduled task that invokes this batch file:
@echo off
taskkill /f /im msimn.exe
ping localhost -n 60 > nul
"C:\Program Files\Outlook Express\msimn.exe"
 
K

Kent

Dear Pegasus,

I found a dos prompt windows left after your batch file is executed, then
it stop and didn't work anymore as scheduled, until the Dos Prompt windows
is closed manually. How to close that windows automatically?

Kent
 
P

Pegasus [MVP]

Try this variant:
@echo off
taskkill /f /im msimn.exe
ping localhost -n 60 > nul
start /b "OE" "C:\Program Files\Outlook Express\msimn.exe"
exit
 
K

Kent

Dear Pegasus,

Your solution well fits my usage, thank you for your kind assistance.

Kent
 
K

Kent

One more problem Pegasus, my OS has been upgraded to Windows 7, but find
can't run the Outlook Express anymore. I like the simple OE rather than the
Outlook 2003. May the OE still be used in Windows 7?

Kent
 
P

Pegasus [MVP]

I doubt it very much. Best to ask a Windows 7 forum about your mail client
options.
 
E

Elmo

Kent said:
One more problem Pegasus, my OS has been upgraded to Windows 7, but find
can't run the Outlook Express anymore. I like the simple OE rather thanthe
Outlook 2003. May the OE still be used in Windows 7?

Kent

Mozilla Thunderbird works well with Windows 7. It's similar to OE, and
it allows you to filter messages by whether the sender is in your
address book. (I often harp on the benefits of filtering by sender, so
messages in e.g., a SPAM folder can be scrutinized before opening. Just
add any email to the Address Book to pass the filter in the future.)
 
K

Ken Blake, MVP

One more problem Pegasus, my OS has been upgraded to Windows 7, but find
can't run the Outlook Express anymore.



I'm not Pegasus, but that's correct. Outlook Express doesn't come
with, and will not run in, Windows 7.

I like the simple OE rather than the Outlook 2003.


Outlook, whether 2003 or any other version, has nothing to do with
Windows 7, nor with any other version of Windows. It's a separate
program, part of Microsoft Office, that has to be bought to be used.

May the OE still be used in Windows 7?


As I said above, no. There are however many choices of e-mail programs
you can use, several of which are freeware. Microsoft's free program
is Windows Live Mail, and a web search will find you many others to
try. My advice is to ignore anyone's recommendation, try several of
them, and pick out the one *you* like best.
 
R

Roy Smith

Kent said:
I use OE only for newsgroup, would Live Mail or other free program fit my
purpose?


Kent

There are several newsreader programs available. Some also handle email
such as Windows Live Mail and Thunderbird, and others just do
Newsgroups. Now as to which one to use, that's your decision so
download a few and try them out.
 
K

Ken Blake, MVP

I use OE only for newsgroup, would Live Mail or other free program fit my
purpose?


Yes to both. But again, I recommend that you try a few and select what
you like best.


 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top