Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Renames a specified file

 


Syntax

File_RenameFile(sOrgFileName, sNewFileName) As Boolean 


Parameters

sOrgFileName (String)

...

sNewFileName (String)

New filename

...


Example

Code Block
languagevb
themeEclipselanguagevb
titleVBScript
If bStatus Then bStatus = File_RenameFile("C:\CMS.txt", "C:\CapaInstaller.txt")

Scripting Guidelines 


Related functions

File_RenameDir