#22002/9/22 1:10:54
函数说明写的很清楚:
Result := baXCopy( SrcDir, DestDir, FileSpec, Overwrite, MakeDirs )
Copies all files matching FileSpec from SrcDir to DestDir, including sub-directories.
Overwrite can be 'Always', 'IfNewer', 'IfNotExist'.
Is MakeDirs is true, empty directories will be created.
Returns 0 if successful.
例如要拷贝c:\a目录下的所有文件到当前目录下,可以这样写:
baXCopy("c:\\a", FileLocation,"*", "Always", TRUE)