Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I shut outlook from command line?

Status
Not open for further replies.

jackiek

Technical User
Apr 25, 2001
9
EU
We're looking to be able to create a batch file that shuts outlook prior to backing it up using veritas backup exec. Any ideas what command we can use?
 
Piece of cake - but kinda risky. There may be another way to do it, but on NT you can use the "kill" command.

Syntax: kill outlook
;) - it works!

I havent tried it in a script, but there's got to be a way to do it. Like i said though - it's much easier to shutdown, or even force a reboot rather than kill an open application.
 
I think I know what you need to do but, not sure how to get you there. If you schedule a logoff of your server before you start your backup, it will close outlook. BackupExec will still run correctly logged off because it is runs as services.
 
True, is does depend on the version of BE that you have.
I know that v7.2 and above for NT will run as services.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top