[python-win32] Volume Serial Number

Rickey, Kyle W Kyle.Rickey at bakerhughes.com
Fri May 16 17:35:45 CEST 2008


How do I get the volume serial number for a drive? For example in the
cmd prompt issuing this:

 

C:\>vol C:

 Volume in drive C is LABEL

 Volume Serial Number is FFFF-0000

 

Is the volume serial number wrapped by pywin32? I found the function
win32api.GetVolumeInformation, but it doesn't seem to return what I
want.

 

-Kyle Rickey

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20080516/1245e874/attachment.htm>


More information about the python-win32 mailing list