Page tree
Skip to end of metadata
Go to start of metadata

Description

Enumerates all mapped network drive paths

 

Syntax

Net_EnumNetworkDrivePaths() As Boolean

 

Return value

Result will be stored in gaValue

 

Example

VBScript
If bStatus Then bStatus = Net_EnumNetworkDrivePaths()
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

 

Related functions

Net_EnumNetworkDrives Net_MapNetworkDrive Net_RemoveNetworkDrive

  • No labels