Help - I want to Rename all .bmp files to .jpg in one simple step

H

Herb

I've got a picture CD which will not play in my DVD player as the file
extensions are .bmp and it will only do .jpg.
Is there an easy way for me to rename all of these 209 extensions in
one go rather than spend hours doing each one individually.
I've read that this can be done via command prompt but I cna not
specify the directory it is in.

I don't know whether simply renaming the files will make it work, but
image handling applications such as the free IrfanView
(http://www.irfanview.com) have a batch renaming function.

Regards
 
2

250316

I've got a picture CD which will not play in my DVD player as the file
extensions are .bmp and it will only do .jpg.
Is there an easy way for me to rename all of these 209 extensions in
one go rather than spend hours doing each one individually.
I've read that this can be done via command prompt but I cna not
specify the directory it is in.
 
2

250316

I think it will work as when I changed just a few it worked fine.

I'll try it tonight.

Thanks
 
B

billious

250316 said:
I've got a picture CD which will not play in my DVD player as the file
extensions are .bmp and it will only do .jpg.
Is there an easy way for me to rename all of these 209 extensions in
one go rather than spend hours doing each one individually.
I've read that this can be done via command prompt but I cna not
specify the directory it is in.

To rename all ".bmp" files to ".jpg" from the command-prompt:

for /r "d:\directory_start" %i in (*.bmp) do ECHO ren "%i" "%~ni.jpg"

* Starting at directory "d:\directory_start", rename all ".bmp" file to
".jpg" in "d:\directory_start" AND all of its subdirectories.

* As shown, the command will simply echo the ren commands to the screen. To
execute the rename commands (once you're satisfied you haven't made any
typing errors) simply remove the word ECHO

Note that if the files are on a CD, changing them may be a mite difficult.
You'd have to copy them to a HDD first

XCOPY /s "d:\directory_start\*.bmp" "c:\newdir"

should do that task.

".bmp" is a specific format. Renaming the files to ".jpg" won't convert the
format to the ".jpg" format. You'll probably only be able to see the files
if they're actually ".jpg" format misnamed as ".bmp" although some viewers
are smart enough to recognise the internal format rather than relying on the
filename extention.

HTH

....Bill
 
K

Kerry Brown

How did you change them? Did you rename them or open them in a program and
then resave them with a different name?

Kerry
 
2

250316

I just changed the extension in explorer.

I really want it working .... Ferrari Dino 246 pictures, almost
pornographic to a motor head like me.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top