It is used to rename files and in some implementations (such as AmigaDOS) also directories. It can also move a file to a new path, if it is on the same device. It is analogous to the Unix
RT-11, RSX-11, TOPS-20 and OpenVMS also provide the
rename command which in some cases 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
- "Microsoft TechNet Rename (ren) article".
- "TOPS-20 Command manual" (PDF).
- "Microsoft TechNet PowerShell Rename-Item (ren) article".
|This computer data storage-related software article is a stub. You can help Wikipedia by expanding it.|
|This Microsoft Windows article is a stub. You can help Wikipedia by expanding it.|