ren (command)
From Wikipedia, the free encyclopedia
|
|
This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (April 2008) |
|
|
This article includes a list of references, related reading or external links, but its sources remain unclear because it lacks inline citations. Please improve this article by introducing more precise citations. (March 2010) |
In computing, ren (or rename) is a command in various DOS, OS/2 and Microsoft Windows command line interpreters (shells) such as COMMAND.COM, 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 ren.
In Windows PowerShell, ren is a predefined command alias for the Rename-Item Cmdlet which basically serves the same purpose.
In Unix a similar command is rename.
[edit] Example
ren filename newname ren *.htm *.html
Another example. This will rename a default video found in Windows 7 with a new name:
ren filename newname ren C:\Users\Public\Videos\"Sample Videos"\Wildlife.wmv Wildlife2.wmv
Similar use in Unix:
rename s/filename/newname/ input_filter rename s/(.*)\.htm$/$1.html/ *
[edit] See also
[edit] References
|
||||||||||||||||||||||||||||||||
| This computer 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. |