# Audio with .JPG image – I'd like to extract the .jpg images in lowercase. Is this possible?

**URL:** https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810
**Category:** Support
**Created:** [June 11, 2025, 1:31am UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810 "2025-06-11T01:31:45Z")
**Posts on this page:** 11
**Page:** 2

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [June 11, 2025, 5:47pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/21 "2025-06-11T17:47:25Z")

</div>

> [@LyricsLover](#):
>
> If it is really important to have all .JPG extensions in lowercase, you can use a Windows-CMD-Batchfile like this and rename all the .JPG with a double click:  
> `for %%F in (*.JPG) do ren "%%F" "%%~nF.jpg"`
> 
> This would rename all `*.JPG` into `*.jpg` in the same directory as the CMD-Batchfile.  
> Just copy & paste the above line into a new empty CMD-Batch with a name like `Rename_JPG_Extension_in_lowercase.cmd`

Hello @LyricsLover,

I did the test, it doesn't work, there must be something I'm not doing correctly

File: Rename\_JPG\_Extension\_in\_lowercase.cmd

@ECHO OFF

REM JPG extensions in lowercase, you can use a Windows-CMD-Batchfile like this and rename all the .JPG with a double click:

for %%F in (\*.JPG) do ren "%%F" "%%~nF.jpg"

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [June 11, 2025, 8:01pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/22 "2025-06-11T20:01:18Z")

</div>

Which version of Windows are you trying to run this command on?

Please double-check if you have one or more .JPG filenames In the same directory as your `Rename_JPG_Extension_in_lowercase.cmd`

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [June 11, 2025, 8:21pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/23 "2025-06-11T20:21:55Z")

</div>

Hello @LyricsLover,

Sorry, I tested it with an Mp3tag tool for .JPG files, and it didn't work.

It works. I tried again as you described, in a TEST folder with 3 audio files and the file Rename\_JPG\_Extension\_in\_lowercase.cmd.

When I double-click on the file:  
Rename\_JPG\_Extension\_in\_lowercase.cmd

My two image files, .JPG, change to .jpg.

It works. 👍

Thank you. 😉

I would have liked to be able to do this with an Mp3tag tool with the audio files I select. I don't think this programming is possible...

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [June 11, 2025, 9:36pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/24 "2025-06-11T21:36:34Z")

</div>

> [@Sergius](#):
>
> I would have liked to be able to do this with an Mp3tag tool with the audio files I select. I don't think this programming is possible...

It should be possible.  
It's almost midnight here in Europe. I will check it tomorrow and let you know.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [June 12, 2025, 6:35am UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/25 "2025-06-12T06:35:10Z")

</div>

> [@Sergius](#):
>
> I would have liked to be able to do this with an Mp3tag tool with the audio files I select. I don't think this programming is possible...

You can try it with this modified version and use it as new Mp3tag Tool.  
Adjust the Path and Batch filename to your own local version.  
As Parameter use  
`"%_folderpath%"`

 ![image](https://community.mp3tag.de/uploads/default/original/3X/9/0/9078ce310ba38f80a96ab17d7da2a403ec8f070c.png)

```auto
REM The passed "%_folderpath%" from Mp3tag already contains a trailing Backslash
REM Example: C:\Temp\mp3\Album\
REM Therefore no divider is necessary between %1 and *.JPG
REM The ~ character between % and 1 removes the passed double quotes at start and end of the %_folderpath% content
for %%F in ("%~1*.JPG") do ren "%%F" "%%~nF.jpg"
PAUSE

```

You can delete the last PAUSE command. This is only useful for identifying errors that occur during execution.

This Windows CMD Batch renames ALL \*.JPG to \*.jpg in the same folderpath of the selected File(s). As it renames ALL \*.JPG stored in the same directory, it is only necessary to call it once per directory and not for every file in the same directory.

Please let me know if this works as Mp3tag Tool for you.

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [June 12, 2025, 1:34pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/26 "2025-06-12T13:34:28Z")

</div>

Hello @LyricsLover, thank you very much, your programming works perfectly with Mp3tag Tools. 😀 👍

In the Mp3tag Actions command, I programmed 3 different folders to store the audio file covers.

I imagine it's possible to add to the program:  
Rename\_JPG\_Extension\_to\_lowercase.cmd

The same programming, for the following folders:  
C:\BSI32\Album Art Web Server  
C:\BSI32\Album Art\

Mp3tag Actions Command

Export audio covers to the Folder, you are currently working on.  
It works perfectly with your programming.

Export audio covers to BSI32, Album Art Web Server Folder (Simian)  
C:\BSI32\Album Art Web Server\

Export audio covers to BSI32, Album Art Folder (Simian) [Adjusts audio file covers to 200x200]  
C:\BSI32\Album Art\

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [June 12, 2025, 2:10pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/27 "2025-06-12T14:10:47Z")

</div>

> [@Sergius](#):
>
> I imagine it's possible to add to the program:

The above Batch CMD file receives the content of `%_folderpath%`.  
The `%_folderpath%` variable will be filled per track where you right click and choose Tools -\> "Rename JPG Extension to lowercase".

No matter what folder you pass from Mp3tag to the Tool, this folder path will be used to adjust \*.JPG to \*.jpg in it.  
Example:  
If you you right click on a track in  
`C:\BSI32\Album Art Web Server\`  
you pass  
`C:\BSI32\Album Art Web Server\`  
as content of `%_folderpath%`  
and the Tool will rename all \*.JPG to \*.jpg in this specific path.

You don't have to change the Batch CMD itself for different folders.

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [June 12, 2025, 2:58pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/28 "2025-06-12T14:58:55Z")

</div>

@LyricsLover, I completely understand what you just wrote to me, and it's a very good way to proceed....

When I click on my three audio files with images in Mp3tag and run the Actions command:

"Export audio covers to the Folder, you are currently working on"  
and a Tools .JPG to .jpg

I don't open the folder where the three songs I selected are located, because I'm sure Mp3tag automatically exports the three images to the folder where the three audio files are located. I'll open the folder later to check the images and make sure all my image files are .jpg, which works wonderfully...

I think it's possible to add to this file so that this .JPG to .jpg command can write the data to all three folders at the same time

"Rename\_JPG\_Extension\_to\_lowercase.cmd"

"Export audio covers to the folder you are currently working on"

C:\BSI32\Album Art Web Server\

C:\BSI32\Album Art\

I noticed that if the image files aren't in the folder, the "Rename\_JPG\_Extension\_to\_lowercase.cmd" program doesn't report any errors...

Later, when I open my three folders, all my image files will be in .jpg format.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [June 12, 2025, 3:58pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/29 "2025-06-12T15:58:22Z")

</div>

> [@Sergius](#):
>
> I think it's possible to add to this file so that this .JPG to .jpg command can write the data to all three folders at the same time

Sorry, this is not possible with a variable like `%_folderpath%`  
You can only pass 1 variable content `%_folderpath%` from Mp3tag to the batch CMD file at a time.

**BUT:**  
If you like, you can try to adjust the Batch CMD yourself and copy & paste the same line for your fixed pathnames like  
`for %%F in ("C:\BSI32\Album Art Web Server\*.JPG") do ren "%%F" "%%~nF.jpg"`  
and  
`for %%F in ("C:\BSI32\Album Art\*.JPG") do ren "%%F" "%%~nF.jpg"`

This would adjust all \*.JPG to \*.jpg once in the given `%_folderpath%` and in addition all \*.JPG in your two added fixed folders.

> [@Sergius](#):
>
> I noticed that if the image files aren't in the folder, the "Rename\_JPG\_Extension\_to\_lowercase.cmd" program doesn't report any errors...

If the Batch CMD does not find any \*.JPG files in the specified folder, then it just does nothing.  
I don't think that a warning as "nothing to do..." is very helpful. 😉

But feel free to customise the Batch CMD to suit your needs.  
For example you could try to include tests if any JPG files have been found and providing useful text output.

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [June 12, 2025, 8:32pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/30 "2025-06-12T20:32:58Z")

</div>

A huge thank you @LyricsLover,

Your program works very well:

Export audio covers to the Folder, you are currently working on  
C:\BSI32\Album Art Web Server

For  
C:\BSI32\Album Art  
I wouldn't need it  
Adjusts audio file covers to 200x200

I hadn't thought of this detail, when Mp3tag Adjust all covers, the 3 images are programmed as standard. image/jpeg  
See my image

I'm taking this opportunity to ask @Florian, if he agrees, to add a formula in Actions (Quick) and Actions of Mp3tag, to convert .JPG to .jpg This command already exists when the images are resized...

You're right, a warning wouldn't be very useful when the program can't find any data.

I'm definitely going to customize your little program to my liking. 😉

Again A big thank you LyricsLover for your help 👍

 ![Mp3tag MIME command (by Florian, example image by LyricsLover) 3](https://community.mp3tag.de/uploads/default/original/3X/f/1/f1e7fbd48818f6d3ab86c4bd3400506e8ec564e4.jpeg)

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [July 12, 2025, 8:33pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/31 "2025-07-12T20:33:14Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

[Previous page](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810.md?page=1)
