Windows

ren

CautionRename

ren <old> <new>

Renames a file or folder.

Examples

  • ren report.txt report_old.txtRename a file

Syntax

ren <old> <new>

Before you run it

Watch for name clashes.

Related commands

  • mvMove/rename

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store