Thread: Programmed Exit
View Single Post
  #6  
Old May 25th 06, 07:19 AM posted to microsoft.public.outlook
Diane Poremsky [MVP]
external usenet poster
 
Posts: 12,991
Default Programmed Exit

I don;'t think there is a terminate gracefully command.

--
Diane Poremsky [MVP - Outlook]
Author, Teach Yourself Outlook 2003 in 24 Hours
Coauthor, OneNote 2003 for Windows (Visual QuickStart Guide)
Need Help with Common Tasks? http://www.outlook-tips.net/beginner/

Outlook Tips: http://www.outlook-tips.net/
Outlook & Exchange Solutions Center: http://www.slipstick.com
Subscribe to Exchange Messaging Outlook newsletter:



"Tom" wrote in message
...
I found "pskill.exe" in the PsTools suite of commands, it works but it
really kills Outlook by ripping it out by the roots.
What I need is a "ps-terminate-gracefully" command.
I don't have vbscript or any other programming languages on my windows
box.
Any ideas?

"Diane Poremsky [MVP]" wrote in message
...
yes, either use a batch or vbscript. VBSript may give a cleaner exit so
that outlook doesn't have to repair errors when you restart it.

Search Google for the commands you need to use.


"Tom" wrote in message
...
Your first comment is the key, "use a script", but, what script? Are
there commands I can put into a .bat file to accomplish this?
The backup program will run any application before doing the backup.
I don't want to logoff and the Outlook exit has to be hands free.
All of this happens early in the morning, long before I'm awake.

"Diane Poremsky [MVP]" wrote in message
...
you'll need to use a script to close it before the backup runs - and
probably need Outlook Shutdown (listed here
http://www.slipstick.com/problems/close.htm) to insure it's closed.


--
Diane Poremsky [MVP - Outlook]
Author, Teach Yourself Outlook 2003 in 24 Hours
Coauthor, OneNote 2003 for Windows (Visual QuickStart Guide)
Need Help with Common Tasks? http://www.outlook-tips.net/beginner/

Outlook Tips: http://www.outlook-tips.net/
Outlook & Exchange Solutions Center: http://www.slipstick.com
Subscribe to Exchange Messaging Outlook newsletter:


"Tom" wrote in message
...
I'm trying to do the right thing and backup my system often.
Many times the backup program skips the Outlook.pst file because it is
in use by another program.
Probably because Outlook is running.( Duh!, ya think?)
Is there an application or something, that the backup program can run,
that will terminate Outlook?
Backups without my mail are just a bad thing.
Thanks for any tips or hints.









Ads