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 and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store