File_RenameFile

Description

Renames a specified file


Syntax

File_RenameFile(sOrgFileName, sNewFileName) As Boolean


Parameters

sOrgFileName (String)

Original filename

sNewFileName (String)

New filename


Example

VBScript
If bStatus Then bStatus = File_RenameFile("C:\CMS.txt", "C:\CapaInstaller.txt")

Scripting Guidelines


Related functions

File_RenameDir