filerename

Renames a file.

filerename <file1> <file2>

Remarks

Renames <file1> to <file2>.
<file1> and <file2> must not be same.
If the file is renamed successfully, the system variable "result" is set to 0. Otherwise, "result" is set to non-zero.

Example

filerename 'test.dat' test2.dat'