Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy table from network machine
Message
De
26/09/2003 11:04:26
 
 
À
26/09/2003 10:29:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00832678
Message ID:
00832702
Vues:
19
Hello Oscar,
>
>I need to copy a table from a shared folder. The folder is password protected.
>
>I’ll appreciate any hints to perform the copy.
>
>Thanks in advance and regards
>
You can try to stabilish a connection using:
if  file("x:\somefolder\somefile.dbf")
else
    run /n7 net use X: \\myserver\C /user:administrator 12345
endif
*Where - X: is the local drive for the connection
*       \\myserver is your lan machine name
*       administrator is your user name
*       12345 your password
HTH

Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform