/
$cs.File_CopyTree
$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
, multiple selections available,
Related content
PowerShell Scripting Library
PowerShell Scripting Library
Read with this
$cs.File_CopyTree
$cs.File_CopyTree
More like this
$cs.Shell_Execute
$cs.Shell_Execute
Read with this
$cs.File_RenameDir
$cs.File_RenameDir
More like this
PowerPack Global Variables
PowerPack Global Variables
Read with this
File_CopyTree
File_CopyTree
More like this