Open Mason-Lin opened 3 years ago
Hi tjguk,
py wmi.py
if __name__ == __main__
Network Drive
system.Win32_LogicalDisk()
DriveType=3
Warm regards, Mason
Hi tjguk,
py wmi.py
, the sample code ofif __name__ == __main__
will blocking my computer for a while.Network Drive
which is disconnect status.system.Win32_LogicalDisk()
will be taking about 30 secs to 1 min until timeout.DriveType=3
as a condition to let it only shows Local Disk, so people won't stock while there's some special drive not accessible at the moment.Warm regards, Mason