/
renameFile
renameFile
Description
Renames a file. Returns "true" if the file was renamed successfully and "false" otherwise. If "false" is returned check the log for a detailed reason on why it failed.
Parameters
Return Type
Boolean (true/false)
Example
renameFile("C:/source.txt", "C:/destination.txt");
It returns 'true' if the source.txt file was renamed to destination.txt.
It is recommended that you use forward slashes ( / ) for file paths.
See also
, multiple selections available,
Related content
renameFile
renameFile
More like this
renameFile
renameFile
More like this
deleteFile
deleteFile
More like this
fileMove
fileMove
More like this
fileMove
fileMove
More like this
fileMove
fileMove
More like this