$cs.File\_CopyTree
Syntax
Section titled “Syntax”$cs.File_CopyTree(string source, string destination, bool copySubDirs = true, bool overwrite = true)
Parameters
Section titled “Parameters”source
Source folder to copy
destination
Destination folder to copy to - creates destination folder if missing
copySubDirs
Also copy subfolders (default True)
overwrite
Overwrite existing files (default True)
Example
Section titled “Example”$cs.File_CopyTree("C:\Program Files\CapaInstaller\Dummy","C:\Windows\Dummy")returns nothing