Changes the name of a specified file
RENAME <cOldFile> TO <cNewFile>
<cOldFile> Old filename
<cNewFile> New Filename
This command changes the name of <cOldFile> to <cNewFile>. Both <cOldFile> and <cNewFile> must include a file extension. This command if not affected by the SET PATH TO or SET DEFAULT TO commands; drive and directory designates must be specified if either file is in a directory other then the default drive and directory.
If <cNewFile> id currently open or if it previously exists, this command will not perform the desired operation.
RENAME hello.txt TO hello.old
Library is rtl
CURDIR(), ERASE, FILE(), FERASE(), FRENAME()