Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying an entire directory and its tree to another loca
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
00980851
Message ID:
00981407
Views:
47
>>>I need to copy an entire dir and its content to another computer using UNC, is there any way to do so from VFP?
>>>
>>>i also need to nename the target dir in the target machine
>>
>>
>>oWSH = CREATEOBJECT("Scripting.FileSystemObject")
>>owsh.CopyFolder(source_folder,target_folder,.t.)
>>
>
>
>the problem with this is that for any matters, i need to copy to another computer on the network with a unc like this
>
>\\computername\c$\directory
>
>and this seems not to work with scripting, any aide why?

It must be your rights, it should work, I just checked just in case.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform