REN

Posted On 2007-04-24 by FortyPoundHead
Keywords: Command Reference
Tags: Windows Commandline Windows
Views: 1495


Rename a file or files.

REN [drive:][path]old_filename new_filenameRENAME is a synonym for REN

You cannot specify a different drive or path for `new_filename` - use the MOVE command instead.

Both the source and/or destination may include wildcards.

e.g.
REN *.txt *.xyz
REN c:\MyFile.txt *.xyz
REN c:\MyFile.txt ????.xyz


About the Author

FortyPoundHead has posted a total of 1974 articles.


Comments On This Post

No comments on this post yet!


Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:54.227.6.156

Before you can post, you need to prove you are human. If you log in, this test goes away.




Code Links