Project

General

Profile

Added in 1.9.0

/rename <filename> <new filename>

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

Switches

-o - Overwrites the target file if it exists.
-f - Flushes copy to disk immediately.

Parameters

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

Example

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

Updated by Per Amundsen about 1 year ago · 5 revisions

Also available in: PDF HTML TXT