Is there any way to close down Outlook 2003 from within a batch (.BAT) file? I run a batch file every night (using the standard Windows XP Scheduler to run unattended) to clean up stuff and back up all my data files (BackupPlus from Avantrix). If I fail to manually shut down Outlook before this run, the backup program notes that the .pst files are in use and skips them. This is not good. I checked the Outlook command line switches but did not find anything relevant. I tried to Copy and XCopy the files to temporary files but they’re locked out of those commands also. Any ideas how to determine if Outlook is running, and, if it is, to shut it down?
Thanks, John Littell