The command is available in the operating systems Digital Research CP/M,2 MP/M,34 Cromemco CDOS,5 MetaComCo TRIPOS,6 DOS, IBM OS/2,7 Microsoft Windows,8 ReactOS,9 SymbOS, and DexOS.
Multics includes a rename command to rename a directory entry. It can be contracted to rn.10
Stratus OpenVOS,11 DEC RT-11,12 OS/8,13 RSX-11,14 Intel ISIS-II,15 iRMX 86,16 TOPS-20,17 Zilog Z80-RIO,18 TSC FLEX,19 Microware OS-9,20 DR FlexOS,21 IBM/Toshiba 4690 OS,22 HP MPE/iX,23 THEOS/OASIS,24 and OpenVMS25 also provide the rename command which in some cases can be contracted to ren.
The rename command is supported by Tim Paterson's SCP 86-DOS.26 On MS-DOS, the command is available in versions 1 and later.27 DR DOS 6.0 also includes an implementation of the ren and rename commands.28
In Windows PowerShell, ren is a predefined command alias for the Rename-Item Cmdlet which basically serves the same purpose.29
TSL PC-MOS includes an implementation of rename.30 Like the rest of the operating system, it is licensed under the GPL v3.31
It is also available in the open source MS-DOS emulator DOSBox.
Another example. This will rename a default video found in Windows 7 with a new name:
The first parameter may contain a drive and a path, but the second parameter must contain only the new filename.
To remove certain characters of a file name in Microsoft Windows command prompt (XP & Higher) :
This will remove abcd from the file name.
Notes:
Rügheimer, Hannes; Spanik, Christian (September 19, 1988). AmigaDOS quick reference. Grand Rapids, Mi : Abacus. ISBN 9781557550491 – via Internet Archive. 9781557550491 ↩
"Manual" (PDF). www.cpm.z80.de. Retrieved 2020-09-19. http://www.cpm.z80.de/manuals/cpm22-m.pdf ↩
Digital Research (July 1981) [1979]. MP/M - Multi-Programming Monitor Control Program - User's Guide (PDF) (4 ed.). Pacific Grove, CA, USA: Digital Research. Archived (PDF) from the original on 2017-01-04. Retrieved 2017-01-04. /wiki/Digital_Research ↩
Digital Research (1981-09-25). MP/M-86 Operating System - User's Guide (PDF) (1 ed.). Pacific Grove, CA, USA: Digital Research. Archived (PDF) from the original on 2017-01-04. Retrieved 2017-01-04. /wiki/Digital_Research ↩
CDOS USER'S MANUAL http://www.hartetechnologies.com/manuals/Cromemco/CDOSv1.PDF ↩
"Manual" (PDF). www.pagetable.com. Retrieved 2020-09-19. https://www.pagetable.com/docs/amigados_tripos/tripos_manuals.pdf ↩
"JaTomes Help - OS/2 Commands". Archived from the original on 2019-04-14. Retrieved 2019-07-06. https://web.archive.org/web/20190414130029/http://www.jatomes.com/Help/Os2Cmd.php#RENAME ↩
"Microsoft TechNet Rename (ren) article". 11 September 2009. https://technet.microsoft.com/en-us/library/bb490987.aspx ↩
"reactos/reactos". GitHub. 3 January 2022. https://github.com/reactos/reactos ↩
"Multics Commands". www.multicians.org. https://www.multicians.org/multics-commands.html ↩
"Manual" (PDF). stratadoc.stratus.com. Retrieved 2020-09-19. http://stratadoc.stratus.com/vos/19.1.0/r098-19/wwhelp/wwhimpl/common/html/r098-19.pdf ↩
"RT-11 HELP FILE". paleoferrosaurus.com. Archived from the original on 2018-07-17. Retrieved 2018-07-16. https://web.archive.org/web/20180717041552/http://paleoferrosaurus.com/beta/documents/rt11help.html#RENAME ↩
"Concise Command Language" (CCL)."OS/8 Handbook" (PDF). April 1974. Retrieved 28 November 2017. http://bitsavers.trailing-edge.com/pdf/dec/pdp8/os8/OS8_Handbook_Apr1974.pdf ↩
John F. Pieper (1987). RSX A Guide for Users (PDF). Digital Equipment Corporation. ISBN 0-932376-90-8. Retrieved 2020-09-19. 0-932376-90-8 ↩
ISIS II Users Guide http://bitsavers.org/pdf/intel/ISIS_II/9800306-06_ISIS-II_Users_Guide_May81.pdf ↩
iRMX™86 INTRODUCTION AND OPERATOR'S REFERENCE MANUAL For Release 6 https://archive.org/details/bitsavers_inteliRMX1_19819263 ↩
"TOPS-20 Command manual" (PDF). Archived from the original (PDF) on 2020-08-09. Retrieved 2018-07-18. https://web.archive.org/web/20200809103116/http://www.textfiles.com/bitsavers/pdf/dec/pdp10/TOPS20/V6.1/AA-FP65A-TM_tops20CmdsRef.pdf ↩
Z80-RIO OPERATING SYSTEM USER'S MANUAL https://www.z80cpu.eu/mirrors/oldcomputers.dyndns.org/public/pub/rechner/zilog/zds/z80-rio_os_userman.pdf ↩
"FLEX 2.0 User's Manual" (PDF). http://www.flexusergroup.com/flexusergroup/pdfs/flex2um.pdf ↩
Paul S. Dayan (1992). The OS-9 Guru - 1 : The Facts. Galactic Industrial Limited. ISBN 0-9519228-0-7. 0-9519228-0-7 ↩
"FlexOS User's Guide" (PDF). www.bitsavers.org. 1986. Archived from the original (PDF) on 2010-08-08. Retrieved 2020-09-19. https://web.archive.org/web/20100808010315/http://www.bitsavers.org/pdf/digitalResearch/flexos/1073-2003_FlexOS_Users_Guide_V1.3_Nov86.pdf ↩
"Users guide" (PDF). archive.org. Retrieved 2020-09-19. https://archive.org/details/4690OSV6r2UsersGuide/page/n169 ↩
"MPE/iX Command Reference Manual" (PDF). Archived from the original (PDF) on 2018-10-21. Retrieved 2018-10-21. https://web.archive.org/web/20181021232213/http://www.teamnaconsulting.com/compresources/pdfs/c01687363.pdf ↩
THEOS/OASIS User's Handbook http://www.bitsavers.org/pdf/phaseOneSystems/THEOS_OASIS_Users_Handbook_1985.pdf ↩
OpenVMS User's Manual[permanent dead link] https://www.itec.suny.edu/scsys/vms/OVMSDOC073/v73/6489/6489pro_005.html ↩
86-DOS - Disk Operating System for the 8086 - User's Manual (PDF). Version 0.3 (Preliminary ed.). Seattle, Washington, USA: Seattle Computer Products, Inc. 1980. Archived from the original (PDF) on 2019-07-14. Retrieved 2019-07-14. (59 pages) https://web.archive.org/web/20190714004434/http://www.patersontech.com/dos/docs/86_Dos_usr_03.pdf ↩
Wolverton, Van (2003). Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition. Microsoft Press. ISBN 0-7356-1812-7. 0-7356-1812-7 ↩
DR DOS 6.0 User Guide Optimisation and Configuration Tips https://www.4corn.co.uk/archive/docs/DR%20DOS%206.0%20User%20Guide-opt.pdf ↩
"Microsoft TechNet PowerShell Rename-Item (ren) article". 22 October 2009. https://technet.microsoft.com/en-us/library/ee176940.aspx ↩
PC-MOS User Guide https://github.com/roelandjansen/pcmos386v501/blob/master/DOCS/v4/PCMOSv4UserManual.pdf ↩
Jansen, Roeland (8 February 2018). "pcmos386v501: PC-MOS/386 v5.01 final release including cdrom driver sources" – via GitHub. https://github.com/roelandjansen/pcmos386v501 ↩