General information
Title:
Copy files only and not folders
Environment versions
Network:
Windows 2003 Server
Hi,
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only