# Action to Copy Filename to Title

**URL:** <https://community.mp3tag.de/t/action-to-copy-filename-to-title/17289>\
**Category:** Support\
**Created:** [October 9, 2015, 4:44am UTC](https://community.mp3tag.de/t/action-to-copy-filename-to-title/17289 "2015-10-09T04:44:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![skinniedipper](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/919ad9/32.png) [@skinniedipper](https://community.mp3tag.de/u/skinniedipper)\
**Post date:** [October 9, 2015, 4:44am UTC](https://community.mp3tag.de/t/action-to-copy-filename-to-title/17289/1 "2015-10-09T04:44:18Z")

</div>

I've managed to create an Action to copy the Filename into the Title field, the format string is %\_FILENAME% but the filename includes a track number eg 01 Road to Heaven.mp3.

How can I amend the format string so that it does not include the track number when it copies it into the Title field.

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [October 9, 2015, 4:46am UTC](https://community.mp3tag.de/t/action-to-copy-filename-to-title/17289/2 "2015-10-09T04:46:30Z")

</div>

What about an action of the type "Guess value" (import tag-field) for \_FILENAME  
Guessing pattern: %track% %title%

---

<div class="post-metadata">

**Author:** ![skinniedipper](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/919ad9/32.png) [@skinniedipper](https://community.mp3tag.de/u/skinniedipper)\
**Post date:** [October 9, 2015, 8:26pm UTC](https://community.mp3tag.de/t/action-to-copy-filename-to-title/17289/3 "2015-10-09T20:26:46Z")

</div>

> [@ohrenkino](#):
>
> What about an action of the type "Guess value" (import tag-field) for \_FILENAME  
> Guessing pattern: %track% %title%

Hi ohrenkino

Unfortunately that didn't work. I've only been using the program for a few days so maybe I didn't set up the Action correctly. This is how I set it up based on your suggestion:

Guess Values Source Format: FILENAME Guessing Pattern: %track% %title%

Is that correct.

What I'm trying to achieve is to copy PART of the contents of the Filename tag into the Title tag. An example:

Filename tag contains "01 Song from Album.mp3" I want to copy "Song from Album" into Title tag.

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [October 10, 2015, 6:06pm UTC](https://community.mp3tag.de/t/action-to-copy-filename-to-title/17289/4 "2015-10-10T18:06:06Z")

</div>

You do not tell what does not work.  
One reason could be that the reference to the filename should be \_FILENAME with a leading underscore.

---

<div class="post-metadata">

**Author:** ![skinniedipper](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/919ad9/32.png) [@skinniedipper](https://community.mp3tag.de/u/skinniedipper)\
**Post date:** [October 10, 2015, 8:39pm UTC](https://community.mp3tag.de/t/action-to-copy-filename-to-title/17289/5 "2015-10-10T20:39:39Z")

</div>

Hi ohrenkino

Sorry about that.

I created the action: Guess Values Source Format: FILENAME Guessing Pattern: %track% %title% then highlighted a file and tried it. A window came up with: "Formatted tags in 0 of 1 files. 0 of 1 files renamed".

I've now changed the Source Format to \_FILENAME as you suggested but I get the same result.

skinniedipper

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [October 11, 2015, 6:36am UTC](https://community.mp3tag.de/t/action-to-copy-filename-to-title/17289/6 "2015-10-11T06:36:12Z")

</div>

And some more syntax:  
The "Source format" field wants the reference to the variable contents - %\_filename%  
\_FILENAME is not enough.

---

<div class="post-metadata">

**Author:** ![skinniedipper](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/919ad9/32.png) [@skinniedipper](https://community.mp3tag.de/u/skinniedipper)\
**Post date:** [October 12, 2015, 9:27pm UTC](https://community.mp3tag.de/t/action-to-copy-filename-to-title/17289/7 "2015-10-12T21:27:33Z")

</div>

Hi ohrenkino

Thanks a lot. That's exactly what I wanted.

skinniedipper

---

<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:25pm UTC](https://community.mp3tag.de/t/action-to-copy-filename-to-title/17289/8 "2026-02-09T12:25:54Z")

</div>

Closed on February 9, 2026, 12:25pm UTC


