
DOS and Batch Files
Rename All Files From One Extension to Another
SUMMARY: Quickly change the extension of all files in a directory.
(Note that this may not work on early versions of DOS, so experiment.)
If you ever need to rename all files in a directory from one extension to another, for example, *.new to *.old, you can use wildcards with the rename command. In this example, the command would be:
rename *.new *.old
Return to the DOS and Batch Files page.
blog comments powered by Disqus
![[Home]](http://malektips2.com/graphics/logo-small.png)