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)
Section titled “sSourceFile (String)”File to copy
sTargetFile (String)
Section titled “sTargetFile (String)”Name of targetfile
bOverWrite (Boolean)
Section titled “bOverWrite (Boolean)”Overwrite existing file
Example
Section titled “Example”If bStatus Then bStatus = File_CopyFile(gsPackageRoot & "\capalib.chm", gsProgramFiles & "\CapaInstaller\capalib.chm", True)