Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy files only and not folders
Message
 
 
To
20/02/2009 10:01:51
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01383073
Message ID:
01383104
Views:
51
Try
COPY FILE (ADDBS(lcSourceFolder) + "*.*") TO (lcDestinationFolder)
>
>Can someone help me with code to copy only the files between folders and not copy folders.
>
>Code below copies folders and files
>
>lcSourceFolder = cTxt2
>lcDestinationFolder = cTxt3
>
>#define OverWriteFiles .t.
>loFSO = CreateObject("Scripting.FileSystemObject")
>loFSO.CopyFolder (lcSourceFolder , lcDestinationFolder , OverWriteFiles)
>
>
>Thanks.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform