Wednesday, August 20, 2014

How To Change Extension Of Multiple File At a Time

Really it is hard to change extension one by one of your files. I came across with this with a cmd trick. I had many images of different extensions and I have to put it in one extension in .jpg. Because of web restriction i had to upload images in .jpg extension if i put any another extension then website will not access those images. Isn’t it a great job or saving of time all the work that we want to do to be completed in second? Generally we want to use less use of brain and less time to complete our work. But there should be perfection in job.

In this article I will share this trick with you. It is very simple.

Open your command prompt by typing cmd in run box.
Once command prompt opened to your folder where your files are putted by typing cd.
If the files are in another drive of your computer simply type drive name with colon like D:
Then go to your folder by using cd command.
Let say for example my files are in images folder of “D” drive
Type D:
Then type cd images
And here you are now its time of magic once reached to your targeted folder you need to type a simple and very short command to change extension of you files.

Type ren *.* *.jpg

You can put any extension like jpg, png , gif, bmp any extension you want. After typing this command you will get all the files in targeted folder with different extension has been changed to the extension that your have given in command prompt. Isn’t it so simple?

0 comments:

Post a Comment