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:
00981400
Views:
61
>>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?
.......
DO WHILE .T.
      ME.Work()
ENDDO
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform