# Take part of the filename

**URL:** <https://community.mp3tag.de/t/take-part-of-the-filename/48201>\
**Category:** Support\
**Created:** [March 19, 2020, 12:15am UTC](https://community.mp3tag.de/t/take-part-of-the-filename/48201 "2020-03-19T00:15:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DDS1986](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/8491ac/32.png) [@DDS1986](https://community.mp3tag.de/u/DDS1986)\
**Post date:** [March 19, 2020, 12:15am UTC](https://community.mp3tag.de/t/take-part-of-the-filename/48201/1 "2020-03-19T00:15:01Z")

</div>

![filename tag](https://community.mp3tag.de/uploads/default/original/2X/3/357f5ef2e9cbac4a383fe654267792aacd6155ad.png)

How can i take a part of the filename and tag it into artist and title without losing the full filename?

---

<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:** [March 19, 2020, 5:51am UTC](https://community.mp3tag.de/t/take-part-of-the-filename/48201/2 "2020-03-19T05:51:45Z")

</div>

Convert\>Filename-Tag  
Format string: %artist% - %title%

---

<div class="post-metadata">

**Author:** ![DDS1986](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/8491ac/32.png) [@DDS1986](https://community.mp3tag.de/u/DDS1986)\
**Post date:** [March 19, 2020, 2:08pm UTC](https://community.mp3tag.de/t/take-part-of-the-filename/48201/3 "2020-03-19T14:08:38Z")

</div>

Thx for the reply.  
There are files who don't want to rename. I don't see the problem.

 ![tags](https://community.mp3tag.de/uploads/default/original/2X/f/f97759d7f57cd99476bcd306b9bb88daa7b716f9.png)

---

<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:** [March 19, 2020, 2:56pm UTC](https://community.mp3tag.de/t/take-part-of-the-filename/48201/4 "2020-03-19T14:56:01Z")

</div>

I don't know - perhaps the hypen is not really a hyphen.  
You could try the following  
Delete everything except %artist% and see what the preview does.  
Now try the next part like `-%title%`  
if that does not work already, you have to go to the Windows explorer and copy that hyphen-like character from the filename and replace with it the already entered hyphen.

Besides that there are some tracks that have no hyphen but only blanks to separate like that "Mega Mix Promo". You would have to adapt the pattern in the Converter a couple of times until you have harvested all the data.

---

<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:28pm UTC](https://community.mp3tag.de/t/take-part-of-the-filename/48201/5 "2026-02-09T12:28:28Z")

</div>


