Renames a file. Unlike the move command, this command cannot be used to rename subdirectories, or rename files across drives.
ren filename newname
A more useful function of this command is to mass rename files by the use of wildcards. For example, the following command will change the extension of all files in the current directory from htm to html:
ren *.php *.php
Scroll to Top