Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'net use' equivalent in VFP 5
Message
 
À
15/03/2001 18:58:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00485664
Message ID:
00485670
Vues:
7
Hi Tommy,

You can do this with the API, but you could also just use UNC pathing inm the VFP command
copy file ("\\server\share\folder\file name") to ("another possibly UNC path")

Cheers,

Andrew

>Hello,
>
>Is there an equivalent of the DOS 'net use' command in VFP 5? I would like to connect to a server on a LAN, copy some files, then disconnect with code. Using the FoxPro 'run' command ( ! net use...) works, but not very well.
>
>Thanks.
>Tommy Durham


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform