A Quick Way to Batch convert file extensions

Just as I mentioned in the title, I will quickly come to a beautiful shortcut that I often use to convert large number of files in a folder on one double click to another type in seconds! Many of you may be already using this process for batch conversion of file extensions…. as it is that age-old “ren/rename” command that we used in Ms-Dos platform.

But its still useful in windows!

Suppose you want to convert all your .html files in “Myfolder” to .txt, now what you have to do is, write – rename *.html *.txt in your notepad and save the file as convert_htm2txt.bat (or as required, just remember to change the extension to .bat) inside “Myfolder” containing all the htmls which you want to convert to text documents.

Double click convert_htm2txt.bat …….

Voila! All the html files are now converted to text files in “Myfolder

Edit batfileNote 1: Use this method in your own risk or do experiments to get more customized results, right click and edit the bat file as per your need, but don’t take chances and keep a backup of all your documents before playing with them…! 🙂

Note 2: This method is more useful converting text, doc, html etc or between other similar formats as other files PDF, PSD etc might get corrupted or show data loss and may produce negative results.

Note 3: To view file extensions (as by default, it is already not visible) besides file names view de-select “hide extensions for known file types“.

Last modified on September 15th, 2015 at 7:28 pm.
Share this post:

Priyanka Naskar Majumder - the Owner, Eyedea LAB. Graphic & Web Design Studio, lives in Kolkata, India. Interested in: Usability research, Graphic Design, Web Design & Development.

Leave a Reply

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


Allowed HTML tags: <strong> <em> <pre> <code> <a href="" title="">