Using Python 2.5.4 on Vista and Windows 7, I get a catastrophic
failure with the same code that works on XP SP3

from win32com.shell import shell
shell.SHEmptyRecycleBin(None, None, 0)

com_error: (-2147418113, 'Catastrophic failure', None, None)
In hex, this error is 8000ffff.

I tried drive="c:\\" and running as admin.


Best regards,
Andrew
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to