# How to implement mp3val, MP3packer & MP3Gain via cmd

**URL:** https://community.mp3tag.de/t/how-to-implement-mp3val-mp3packer-mp3gain-via-cmd/5036
**Category:** Support
**Created:** [June 18, 2007, 8:24pm UTC](https://community.mp3tag.de/t/how-to-implement-mp3val-mp3packer-mp3gain-via-cmd/5036 "2007-06-18T20:24:15Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![h-leqin](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/9fc29f/32.png) [@h-leqin](https://community.mp3tag.de/u/h-leqin)
#### Post date: [June 18, 2007, 8:24pm UTC](https://community.mp3tag.de/t/how-to-implement-mp3val-mp3packer-mp3gain-via-cmd/5036/1 "2007-06-18T20:24:15Z")

</div>

Hy Guys!

I've a question regarding the tool element in MP3Tag using  
mp3val ([http://mp3val.sourceforge.net/](http://mp3val.sourceforge.net/)),  
MP3packer ([http://wiki.hydrogenaudio.org/index.php?title=MP3packer](http://wiki.hydrogenaudio.org/index.php?title=MP3packer)) and  
MP3Gain

as I'm no CMD Guru how is it possible to implement these commands for all  
selected tracks in MP3Tag?

as MP3Tag seems to me one of the powerfull taggers if not THE Tagger, I think these  
commands/tools would be nice extras?

thx in advance

h-leqin

---

<div class="post-metadata">

### Author: ![keudj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/e495f1/32.png) [@keudj](https://community.mp3tag.de/u/keudj)
#### Post date: [January 28, 2008, 10:48pm UTC](https://community.mp3tag.de/t/how-to-implement-mp3val-mp3packer-mp3gain-via-cmd/5036/2 "2008-01-28T22:48:45Z")

</div>

I'm Also interrested in it. Did you manage to figure it out ?

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [January 29, 2008, 6:00pm UTC](https://community.mp3tag.de/t/how-to-implement-mp3val-mp3packer-mp3gain-via-cmd/5036/3 "2008-01-29T18:00:56Z")

</div>

It's not possible.  
You can use a workaround with the export and create a batch file the launches the program  
Example:  
$filename(Mp3val.bat,ansi)"c:\Porgam Files\mp3val\mp3val.exe" $loop(%\_filename\_ext%)"%\_path%" $loopend()-lout.log

---

<div class="post-metadata">

### Author: ![djodjolyon](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/cab0a1/32.png) [@djodjolyon](https://community.mp3tag.de/u/djodjolyon)
#### Post date: [June 23, 2008, 3:04am UTC](https://community.mp3tag.de/t/how-to-implement-mp3val-mp3packer-mp3gain-via-cmd/5036/4 "2008-06-23T03:04:57Z")

</div>

> [@dano](#):
>
> $filename(Mp3val.bat,ansi)"c:\Porgam Files\mp3val\mp3val.exe" $loop(%\_filename\_ext%)"%\_path%" $loopend()-lout.log

I was looking how to use the tool manager to use mp3gain from mp3tag and I found this thread...  
But I can't find the way to make mp3gain opening with the batch... Doesn't even work from windows...  
Here is what I changed but it doesn't work. Can you please help me. Thanks

```
$filename(MP3GainGUI.bat,ansi)"F:\Logiciel, informatique\Multimédia\Son\MP3Gain\MP3GainGUI.exe"
$loop(%_filename_ext%)"%_path%" $loopend()-lout.log

```

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [June 23, 2008, 5:11am UTC](https://community.mp3tag.de/t/how-to-implement-mp3val-mp3packer-mp3gain-via-cmd/5036/5 "2008-06-23T05:11:23Z")

</div>

Remove -lout.log and it must be all in one line, no line break after MP3GainGUI.exe"  
And it's for export.

In Tools menu you can only load one file in the GUI program, or a complete folder with the parameter "%\_folderpath%"

You could also make a bat file for the command line version mp3gain.exe which scans the files immediately.

---

<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: [February 9, 2026, 12:20pm UTC](https://community.mp3tag.de/t/how-to-implement-mp3val-mp3packer-mp3gain-via-cmd/5036/6 "2026-02-09T12:20:21Z")

</div>


