Getting an overview if all available driveletters on NT

fredrik at pythonware.com fredrik at pythonware.com
Wed Apr 12 05:57:44 EDT 2000


Ulf Engstrom wrote:
> As the effbot told you the win32api is probably the one you wanna
use, but
> the function is GetLogicalDriveStrings() This won't gives you all the
the
> driveletters, but not their labels, there might be something like that
> there, just never have had to use it. Someone else might now that
part?
> >>> win32api.GetLogicalDriveStrings()
> 'A:\\\000C:\\\000D:\\\000E:\\\000'

umm.  didn't the original poster ask for a way to
tell ordinary drives from network drives?  that's
exactly what GetDriveType does...

</F>


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list