REN
Rename a file or files.
REN [drive:][path]old_filename new_filename
RENAME is a synonym for REN
You cannot specify a different drive or path for `new_filename` - 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
"We may dig in our heels and dare life never to change, but, all the same,
it changes under our feet like sand under the feet of a sea gazer as the tide
runs out. Life is forever undermining us. Life is forever washing away our
castles, reminding us that they were, after all, only sand and sea water." - Erica Jong (Parachutes and Kisses)
Related Commands:
MOVE - Move a file from one folder to another
StampMe.cmd - Batch file to rename a file to include
the current date and time.
Equivalent Linux BASH commands:
mv - Move or rename files or directories