The RENAME command renames the specified local file to a new name. The TO file must be in the same directory as the original, FROM file.
Command | Keyword | Value | Developer notes |
|---|---|---|---|
RENAME | FROM | value | Mandatory. Old file name. |
TO | value | Mandatory. New file name. | |
REPLACE | *YES | Optional. Replace file. | |
*NO | Do not replace file. |