File\_CopyFile
Description
Section titled “Description”Copies a file from source to a destination
Syntax
Section titled “Syntax”File_CopyFile(sSourceFile, sTargetFile, bOverWrite) As Boolean
Parameters
Section titled “Parameters”sSourceFile (String)
File to copy
sTargetFile (String)
Name of targetfile
bOverWrite (Boolean)
Overwrite existing file
Example
Section titled “Example”VBScript
If bStatus Then bStatus = File_CopyFile(gsPackageRoot & "\capalib.chm", gsProgramFiles & "\CapaInstaller\capalib.chm", True)Related functions
Section titled “Related functions”