Closing Outlook

  • Thread starter Thread starter Vina
  • Start date Start date
V

Vina

Hi, can anyone help me how i can close outlook using the
command line?

I cannot find anything showing what the switch to close
outlook

Thanks
Vina
 
Hi,

These two lines in a .vbs file close Outlook and can be invoked from a
command line (eg: cscript /batch OutlookClose.vbs)

Set objOLK = createObject("Outlook.Application")
objOLK.quit
 
Sorry in place of cscript /batch please read cscript //B
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top