online earning

Tuesday 17 July 2012

How to Rename Multiple File Extensions


Hi, friends a cool trick i want to share so here it is.

You all downloaded some game or app once that was 50 parts big, and you had to rename them all suppose from .bmp to .rar to extract them.

You can easily create a batch file that does that for you.


Open Notepad and just type the following words:


ren *.bmp *.rar


Ofcourse, you have to edit these two extensions to fit the files you want to convert. Save this file as renamer.bat and run it in the directory where you want to rename your downloads. its done.



Its not difficult but let me explain in detail here ok, let suppose you have multiple files of same extention like [*.jpg] in your d: drive and u want to change all these jpg files into bmp by just one command, [instead of doing manually] open notepad from start menu and type this

ren *.jpg *.bmp


ok these words are important so make sure u type them correctly.
Quote:
here *.jpg and *.bmp is the command to change jpg into bmp, if u have other files like MSWORD doc files and u can change their extention into anything u want [jpg, bmp, xls, mpg etc...] I mean anything u type will be the extention.
I hope it clears the concept.

Now back to where we are

save that notepad file in the same directory where ur files are by the name

rename.bat

go to your directory where these files are and now u can see a bat file here just dobble click it and u are done.

Thats it.

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...