# Some help with File Renaming Action please!

**URL:** https://community.mp3tag.de/t/some-help-with-file-renaming-action-please/8602
**Category:** Support
**Created:** [July 12, 2009, 1:02pm UTC](https://community.mp3tag.de/t/some-help-with-file-renaming-action-please/8602 "2009-07-12T13:02:50Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Da\_maniaC](https://community.mp3tag.de/user_avatar/community.mp3tag.de/da_maniac/32/5156_2.png) [@Da\_maniaC](https://community.mp3tag.de/u/Da_maniaC)
#### Post date: [July 12, 2009, 1:02pm UTC](https://community.mp3tag.de/t/some-help-with-file-renaming-action-please/8602/1 "2009-07-12T13:02:50Z")

</div>

Hey guys,

Been a while since i posted here! 🙂  
MP3Tag has helped me move on to a higher level though!  
(My entire music collection is now neatly organised).

I still came across a specific issue i would like to solve though.

I am a DJ as well and have been starting to use more and more MP3's as of late.  
The downside is, some of these come in a VBR format which i do not want.

After some messing around with Foobar2000 i got it configured so i can filter out VBR files and recode them using lame.exe very easily.

Because replacing the file simultaneously wil not work however, the converted files are saved as %Filename%\_RECODE.

Now i would like to use MP3Tag to set up an action, that allows me to get rid of the \_RECODE text after i delete the older files.

I am looking at the action with the Replace Function now, but can not get it to work.

Right now it looks like this:  
$replace(%FILENAME%,%FILENAME%\_RECODE,%FILENAME%)

I am probably doing something wrong with the syntax here, so i was really hoping someone here could help me out!

Thanks a million in advance! 🙂

---

<div class="post-metadata">

### Author: ![newser](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/b9bd4f/32.png) [@newser](https://community.mp3tag.de/u/newser)
#### Post date: [July 12, 2009, 1:33pm UTC](https://community.mp3tag.de/t/some-help-with-file-renaming-action-please/8602/2 "2009-07-12T13:33:11Z")

</div>

Try this:

$replace(%\_filename%,\_RECODE,)

---

<div class="post-metadata">

### Author: ![Da\_maniaC](https://community.mp3tag.de/user_avatar/community.mp3tag.de/da_maniac/32/5156_2.png) [@Da\_maniaC](https://community.mp3tag.de/u/Da_maniaC)
#### Post date: [July 12, 2009, 1:43pm UTC](https://community.mp3tag.de/t/some-help-with-file-renaming-action-please/8602/3 "2009-07-12T13:43:04Z")

</div>

That, does not change anything unfortunatly. ☹

---

<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: [July 12, 2009, 5:56pm UTC](https://community.mp3tag.de/t/some-help-with-file-renaming-action-please/8602/4 "2009-07-12T17:56:19Z")

</div>

You forgot to mention what action type you are using.

What newser suggested works with

_Action type:_ **Format value**  
_Field:_ **\_FILENAME**  
_Format string:_ **$replace(%\_filename%,\_RECODE,)**

---

<div class="post-metadata">

### Author: ![Da\_maniaC](https://community.mp3tag.de/user_avatar/community.mp3tag.de/da_maniac/32/5156_2.png) [@Da\_maniaC](https://community.mp3tag.de/u/Da_maniaC)
#### Post date: [July 12, 2009, 6:15pm UTC](https://community.mp3tag.de/t/some-help-with-file-renaming-action-please/8602/5 "2009-07-12T18:15:48Z")

</div>

Thanks for the tip!

I was indeed using the Format Value action.

Though, i had the %filename% field selected. 🙂

---

<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:21pm UTC](https://community.mp3tag.de/t/some-help-with-file-renaming-action-please/8602/6 "2026-02-09T12:21:38Z")

</div>


