[python-win32] manage local drives sharing informations
cedric.fournier at sescoi.fr
Tue Mar 16 12:50:13 EST 2004
First of all, my config:
windows 2000 sp2
I would like to manage my sharing informations for all my local drives
(eg: name of the share, comments, ...).
I've found the following code which can be a start :
system = wmi.WMI ()
my_computer = system.Win32_ComputerSystem ()
print "Disks on", my_computer.Name
for disk in system.Win32_LogicalDisk ():
print disk.Caption, disk.Description, disk.ProviderName or ""
but I don't know where to find a list and description of properties such
as Name, Caption, Description, ProviderName, .......
If somebody have some explanations for me, I would be cool.
Thanks for your help
More information about the Python-win32