You can loop thru the ShellWindows collection and kill them all:

import win32com.client
shellwindows_guid='{9BA05972-F6A8-11CF-A442-00A0C90A8F39}'
for sw in win32com.client.Dispatch(shellwindows_guid):
    sw.Quit()

      Roger

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to