REN

Rename a file or files.

REN [drive:][path]old_filename new_filenameRENAME is a synonym for REN

You cannot specify a different drive or path for &qt;new_filename&qt; – use the MOVE command instead.

Both the source and/or destination may include wildcards.

e.g.
REN *.txt *.xyz
REN c:MyFile.txt *.xyz
REN c:MyFile.txt ????.xyz

Tags: