Schedule a Running Application to Close

  • Thread starter Thread starter Alan Auerbach
  • Start date Start date
A

Alan Auerbach

I want to automatically close a running application (specifcally C:\Program
Files\Microsoft Office\OFFICE11\OUTLOOK.EXE) at a specified time. I can
schedule a start but I do not know how to schedule a close.

Thank you in advance,
/s/ Alan Auerbach
 
Alan Auerbach said:
I want to automatically close a running application (specifcally
C:\Program Files\Microsoft Office\OFFICE11\OUTLOOK.EXE) at a
specified time. I can schedule a start but I do not know how to
schedule a close.
Thank you in advance,
/s/ Alan Auerbach

Well, the command to close an app is tskill or taskkill. Go to a
command prompt and enter the command, a space and /? to get the usage
syntax.
Test it out on something that opens/closes quickly like maybe
Notepad.
Then write a short batch file containing the command you wanted and
put that into the scheduler to run it at a specified time.

HTH,

Twayne`
 
Dear Twayne,

Thank you!! That worked perfectly!

I am very grateful for your kind assistance,
/s/ Alan Auerbach
 
Back
Top