FileRename

FileRename is a built-in scripting function that renames a specified file.

Function Group Execution Windows Embedded Thin Client
FileRename File Synchronous Supported Supported Supported

Syntax

FileRename(strOldName,strNewName)
strOldName
The path and old name of the file.
strNewName
The path and new name of the file.

Returned value

This function does not return any value.

Examples

FileRename( "C:\readme.txt", "C:\readthis.txt" )