This tip was printed from the MalekTips Computer and Technology Help and Tips website at http://malektips.com.

 

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


 

Press the "print" button on your browser or select "File" - "Print" to print this tip. Then, return to DOS and Batch Files - Rename All Files From One Extension to Another

Standard disclaimer applies - read http://malektips.com/disclaim.html