Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mapping to network drive using .BAT file
Message
De
23/03/2004 14:37:24
Tim Muller
Innovative Solutions, Inc.
West New York, New Jersey, États-Unis
 
 
À
23/03/2004 13:00:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00888895
Message ID:
00888991
Vues:
28
Alex--

>Another possible option is to use WSH:
>
>oWSHNet = CREATEOBJECT('Wscript.Network')
>oWSHNet.MapNetworkDrive('R:','\\SomeServer\AppShare',.t.,'uid','pwd')
>
I have always stayed away from WSH. I understand that WSH is an entry point for viri to do damage and consequently many IT departments have removed it. Consequently if it is here today, it can be gone tomorrow and then my stuff is broke.

Any thought on how I can get errors reported out from WNetAddConnection and what they mean?

Tim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform