|This article has multiple issues. Please help improve it or discuss these issues on the talk page.
||This article needs additional citations for verification. (April 2008)
rename) is a command in various DOS, OS/2 and Microsoft Windows command line interpreters (shells) such as
cmd.exe, 4DOS/4NT and Windows PowerShell. It is used to rename files and in some implementations also directories. It is analogous to the Unix
mv command. RT-11, RSX-11 and OpenVMS also provide the
rename command which can be contracted to
In Windows PowerShell, ren is a predefined command alias for the
Rename-Item Cmdlet which basically serves the same purpose.
ren filename newname
ren *.htm *.html
Another example. This will rename a default video found in Windows 7 with a new name:
ren C:\Users\Public\Videos\"Sample Videos"\Wildlife.wmv Wildlife2.wmv