Rename file extensions including in all subfolders

Posted on Friday, 1 April 2016
Sundstedt Animation Top Explainer Video Production Company
Great testimonial about Animated Music Video from Sundstedt Animation

How to recursively rename file extensions – i.e. rename file extensions including in all subfolders in Windows

Rename file extensions including in all subfolders

This tip is great if you for example want to batch rename all .mkv files to .mp4 files.

If you want to rename files from one extension to another, recursively in all sub folders, then you can use this command in Windows Command Prompt.

forfiles /S /M *.ext1 /C “cmd /c rename @file @fname.ext2”

So for example, if you wanted to rename all mkv files to mp4 files, the command would be like this:

forfiles /S /M *.mkv /C “cmd /c rename @file @fname.mp4”

I hope this tip helps. It sure did for me when batch renaming lots of files. Tested in Windows 10 but works in older versions as well.

Good luck with your file extension changes!

READY TO PARTNER? – CONTACT US FOR A FREE QUOTE!

Please fill out this quick animated video form and we’ll follow up.
Or call Anders Sundstedt: +44 (0) 7531 800 711.

Your name*

Your website

Your email*

How can we help? Details please!*

What's your budget?*

 By using this form you agree with the storage and handling of your data by this website. Privacy Policy. *

* Indicates Required


Back To Top

Sundstedt Animation Top Explainer Video Production Company
Great testimonial about Animated Music Video from Sundstedt Animation

Anders is the Founder and Owner at Sundstedt Animation, where he creates handcrafted animated explainer videos, music videos and whiteboard videos. He lives in Glasgow, Scotland and enjoys film and photography. You can follow him on LinkedIn, Google+ and Twitter.

It's only fair to share...
Share on Facebook
Facebook
Share on Google+
Google+
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
Email this to someone
email