Parameters: From, To, Mask, IncludeSub
Used to copy the content of the From directory to the To directory. Mask defines the mask with which the files to be copied must comply. If IncludeSub contains yes, the command will also copy all files and folders contained in the source directory. For example:
Copy Files ("c:\test1", "c:\test2", "*.doc", "No") - copies all DOC files from the test1 folder to the test2 folder. At the same time, the nested files will not be copied.
Copy Files ("c:\test1", "c:\test2", "*", "yes") - copies the whole content of the test1 folder to the test2 folder.
RETURN VALUE: Returns 1 if files have been copied successfully.
Copyright (C) 2001-2010 Binary Brilliant Inc. All Rights Reserved.