Added in 1.9.0

/rename <filename> <new filename>

Renames a file, can also be used to move a file to another location.

Parameters

<filename> - File to rename or move.
<new filename> - New filename.

Example

/rename E:\example.txt "E:\renamed with spaces.txt"