Re: How to prevent task scheduler from starting a program already running




"Nick Cumberbatch" <nickcwpg@xxxxxxxxxxx> wrote in message
news:%23kmJlRQzGHA.3908@xxxxxxxxxxxxxxxxxxxxxxx
I am using Windows XP Professional.

I have setup Task Scheduler to start Microsoft Outlook to run at 7 AM each
day. However since I use the program often, I may sometimes leave it
running overnight. Then in the morning I find two instances of Microsoft
Outlook running, the one that I started originally and the one Task
Scheduler started. How do I resolve this




Embed Outlook in a batch file like so:

@echo off
TaskList | find /i "Outlook" || c:\Program . . . . \ outlook.exe


.



Relevant Pages