Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get my network places
Message
 
To
19/12/2002 09:31:12
Fabian Belo
Independent Developer
Argentina
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00734447
Message ID:
00734466
Views:
28
Fabian this only return the mapped drives.

>Use API:
>
>
>WshNetwork = CreateObject("WScript.Network")
>   oDrives = WshNetwork.EnumNetworkDrives
>
>   ? "Network drive mappings:"
>   For i = 0 to oDrives.Count - 1 Step 2
>     ? "Drive " + oDrives.Item(i) + " = " + oDrives.Item(i+1)
>   Next
>
>
Dominican Republic, a Paradise in America
Previous
Reply
Map
View

Click here to load this message in the networking platform