How to prevent task scheduler from starting a program already running

  • Thread starter Thread starter Nick Cumberbatch
  • Start date Start date
I am not sure I understand what you are asking me to do. Remember I am the
one with intermediate computer ability. Now the last time you directed me
to create a batch file and copy into my windows directory (see below). Then
In Task scheduler I pointed to this batch file to launch. Now where do I go
from there
 
Your previous file "c:\Windows\LauchOutlook.bat" batch file looked like so:
Line1 @echo off
Line2 TaskList | find /i "Outlook" || "c:\Program files\microsoft
office\office10\outlook.exe"

It should now look like so:
Line1 @echo off
Line2 TaskList | find /i "Outlook" || start /b "Outlook" "c:\Program
files\microsoft office\office10\outlook.exe"

Be sure to remove the words "Line1" and "Line2".
 
THANKS AGAIN

Pegasus (MVP) said:
Your previous file "c:\Windows\LauchOutlook.bat" batch file looked like
so:
Line1 @echo off
Line2 TaskList | find /i "Outlook" || "c:\Program files\microsoft
office\office10\outlook.exe"

It should now look like so:
Line1 @echo off
Line2 TaskList | find /i "Outlook" || start /b "Outlook" "c:\Program
files\microsoft office\office10\outlook.exe"

Be sure to remove the words "Line1" and "Line2".
 
Back
Top