Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to map a drive
Message
 
 
À
15/06/2002 07:01:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00668862
Message ID:
00668915
Vues:
11
>how to automatically map a drive ?
*** Try this:
*** x represents the mapped drive
*** \\Dvmlab8\dvmdbf\ represents the network volume(station)and directory to map to

If Drivetype('x')=1
oNet = CREATEOBJECT('WScript.Network')
oNet.MapNetworkDrive("x:","\\Dvmlab8\dvmdbf\")
rele onet
endif

hope this saves you some time
Ronl
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform