Returns the current network drive mapping information.
objDrives = object.EnumNetworkDrives
Variable that holds the network drive mapping information.
The EnumNetworkDrives method returns a collection. This collection is an array that associates pairs of items — network drive local names and their associated UNC names. Even-numbered items in the collection represent local names of logical drives. Odd-numbered items represent the associated UNC share names. The first item in the collection is at index zero (0).
The following example uses EnumNetworkDrives to generate a list of the networked drives and displays the mapping information.
ConceptsRunning Your Scripts