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