I want to exit Outlook using a command line and/or batch file

B

Bob Arnett

I need to have Outlook 2007 close down at a certain time of the day and want
to have this done using a batch file or command line switch. Is this possible?
 
T

tedmi

Read up on the TASKKILL command.
Create a batch file that runs this command with appropriate switches (you
will probably need to use the /F switch).
Schedule a task to run the batch file at the appropriate time.
 
B

Bob Arnett

Thanks. Works great! ... and simple too.

tedmi said:
Read up on the TASKKILL command.
Create a batch file that runs this command with appropriate switches (you
will probably need to use the /F switch).
Schedule a task to run the batch file at the appropriate time.
 

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