Change file extensions of multiple files at once in a folder

Rename file extension of multiple files in a folder in a single DOS command. Command is as given below.

for /r %x in (*.html) do ren "%x" *.htm

 

Leave a Reply

Your email address will not be published. Required fields are marked *