Tony Cappellini wrote:
> Is there a way to differentiate between floppy, network, hard drive,
> removable (aka USB flash) drives? though Pythonwin?
>
> My searches came up with Tim Golden's mapped drives, which is somewhat
> helpful, but not particular to my needs.
> http://tgolden.sc.sabren.com/python/win32_how_do_i/show_mapped_drives.html
>
> win32api.GetVolumeInformation doesn't return anything specific- other than
> 'FAT' which is used on a floppy, but somehow
> I was expecting something a little more specific.
>
>
> thanks
win32file.GetDriveType will tell you this.
Roger
_______________________________________________
Python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32