File_CopyTree

Description

Copies a folder


Syntax

File_CopyTree(sSourceDir, sTargetDir, bRemoveTarget) As Boolean


Parameters

sSourceDir (String)

Source directory

sTargetDir (String)

Target directory

bRemoveTarget (Boolean)

Remove target before copying


Example

VBScript
If bStatus Then bStatus = File_CopyTree(gsPackageRoot & "\Kit\Config", gsProgramFiles & "\CapaInstaller\Config", True)

Scripting Guidelines


Related functions

File functions