Closing Outlook

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
 
G

Grég

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
 
Top