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