Skip to content

Net\_EnumNetworkDrives

Enumerates all mapped network drives

Net_EnumNetworkDrives() As Boolean

Result will be stored in gaValue

VBScript

If bStatus Then bStatus = Net_EnumNetworkDrives()
If bStatus And IsArray(gaValue) Then
For index = LBound(gaValue) To UBound(gaValue)
If bStatus Then bStatus = Job_WriteLog("Custom", "Index #" & index & ": " & gaValue(index), bStatus, True)
Next
End If

Scripting Guidelines

Net_EnumNetworkDrivePaths Net_MapNetworkDrive Net_RemoveNetworkDrive