$cs.File_CopyTree

Syntax

$cs.File_CopyTree(string source, string destination, bool copySubDirs = true, bool overwrite = true)

 

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

$cs.File_CopyTree("C:\Program Files\CapaInstaller\Dummy","C:\Windows\Dummy")

returns nothing