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

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

  • No labels