/
File_CopyFile
File_CopyFile
Description
Copies a file from source to a destination
Syntax
File_CopyFile(sSourceFile, sTargetFile, bOverWrite) As Boolean
Parameters
sSourceFile (String)
File to copy
sTargetFile (String)
Name of targetfile
bOverWrite (Boolean)
Overwrite existing file
Example
VBScript
If bStatus Then bStatus = File_CopyFile(gsPackageRoot & "\capalib.chm", gsProgramFiles & "\CapaInstaller\capalib.chm", True)
Related functions
, multiple selections available,
Related content
$cs.File_CopyTree
$cs.File_CopyTree
More like this
File_ExistFile
File_ExistFile
Read with this
$cs.File_AppendToFile
$cs.File_AppendToFile
More like this
$cs.File_RenameFile
$cs.File_RenameFile
More like this
$cs.File_RenameDir
$cs.File_RenameDir
More like this
File_WaitForFileToExist
File_WaitForFileToExist
More like this