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.