Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List all connected network drivesContent of List all connected network drives.vbsMD5 Hash: C069D6D06CDB71A5C95CC5C0C9914D95 |
||
Dim oWshNetwork : Set oWshNetwork = WScript.CreateObject("WScript.Network")
Dim sList Dim oDrives : Set oDrives = oWshNetwork.EnumNetworkDrives For iCount = 0 to oDrives.count - 1 step 2 sList = sList & "Drive: " & oDrives.item(iCount) sList = sList & " Source: " & oDrives.item(iCount+1) & vbcr Next msgbox(sList) | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |