Page tree
Skip to end of metadata
Go to start of metadata

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)

Scripting Guidelines

 

Related functions

File functions

  • No labels