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
 
Back
Top