File_MoveFile

Description

Moves a file from source to a destination

 

Syntax

File_MoveFile(sSourceFile, sTargetFile, bOverWrite) As Boolean

 

Parameters

sSourceFile (String)

File to move

sTargetFile (String)

Name of target file

bOverWrite (Boolean)

Overwrite existing file


Example

VBScript
If bStatus Then bStatus = File_MoveFile("C:\CapaInstaller.txt", "C:\Temp\CapaInstaller", True)

Scripting Guidelines

 

Related functions

File_CopyFile,File_CopyTree File_VerCopy