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

WMI to the rescue?

<code>
import wmi

for volume in wmi.WMI ().Win32_LogicalDisk ():
  print volume.Caption, "=>", volume.VolumeSerialNumber

</code>

TJG
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to