Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy table from network machine
Message
From
26/09/2003 11:04:26
 
 
To
26/09/2003 10:29:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00832678
Message ID:
00832702
Views:
17
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform