Schedule a Running Application to Close

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
 
T

Twayne

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`
 
A

Alan Auerbach

Dear Twayne,

Thank you!! That worked perfectly!

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

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