I'd like to write a script to dismount a USB memory drive. I'm pretty sure this would be possible with something like wmi.py, but I've never been able to navigate through the WMI documentation well enough to see how to do things :-(
Can anyone give me any pointers (it doesn't have to be a WMI solution - anything that works is fine!) If it's possible to identify when the drive can't be dismounted (because of open files or whatever) and even identify which applications need to be closed, that would be even better! Thanks in advance, Paul _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32