|
Function | With RenameFile you can rename a file. |
Example | rename oldname=“C:\images\p100.gif” newname=“C:\images\logo.gif”
The file “C:\images\p100.gif” is renamed to “C:\images\logo.gif”. |
Format | RenameFile oldname=“sourcefile” newname=“destinationfile”
The file is renamed. If a file with the new name already exists, no action is performed. With if Q[ok] you can query whether the rename operation has been successful. |