Topic group Related topics Example
Renames a file on disk.
RENAME <filename> TO <new name>
RENAME is identical to the File objectís rename(†) method, except that as a command, the file name arguments are treated as names, not a character expressions. They do not require quotes unless they contain spaces or other special characters. If the name is in a variable, you must use the indirection or macro operators.
See rename(†) for details on the operation of the command.