S
Scott
Hi,
I need to be able to close Outlook programmatically. This is to go in a
scheduled job that backs up the .pst file to a network drive. If the user
forgets to shut down Outlook, the backup fails.
pskill from sysinternals.com is a bit too harsh, as it kills the process
rather than closes the window.
And I would use psshutdown from sysinternals, but Outlook is not being well
behaved. If I try to shutdown the machine, I get a dialogue about closing
Outlook first. Why? What's so special about Outlook as opposed to say,
Word, Excel, Notepad, or just about any other application? If the shutdown
process sends a close command to all of those applications, they close. But
Outlook demands that you close it "manually".
I'm hoping I can shutdown Outlook (or any abitrary window) with a wscript???
But, if so, can you provide an example, as I don't know that scripting
language.
Thanks,
Scott
I need to be able to close Outlook programmatically. This is to go in a
scheduled job that backs up the .pst file to a network drive. If the user
forgets to shut down Outlook, the backup fails.
pskill from sysinternals.com is a bit too harsh, as it kills the process
rather than closes the window.
And I would use psshutdown from sysinternals, but Outlook is not being well
behaved. If I try to shutdown the machine, I get a dialogue about closing
Outlook first. Why? What's so special about Outlook as opposed to say,
Word, Excel, Notepad, or just about any other application? If the shutdown
process sends a close command to all of those applications, they close. But
Outlook demands that you close it "manually".
I'm hoping I can shutdown Outlook (or any abitrary window) with a wscript???
But, if so, can you provide an example, as I don't know that scripting
language.
Thanks,
Scott