wwUtils::CopyTree

Copies a directory tree including subdirectories from one location to another.

o.CopyTree(lcSourceFilePath, lcTargetPath)

Parameters

lcSourceFilePath
A path to the source location including a wildcard search template to include files. All files in the current folder and any subfolders that match the wildcard template are copied.

Example: c:\application\data*.*

lcTargetPath
Target location where to copy the files to.

Example

CopyTree("c:\application\data\*.*","c:\application\backup")

See also:

Library wwUtils

© West Wind Technologies, 1996-2022 • Updated: 02/08/16
Comment or report problem with topic