How to prevent task scheduler from starting a program already running

N

Nick Cumberbatch

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
 
P

Pegasus \(MVP\)

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".
 
N

Nick Cumberbatch

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".
 

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