# \[X\] Text file - Tag filename / path matching inconsistency

**URL:** https://community.mp3tag.de/t/x-text-file-tag-filename-path-matching-inconsistency/4077
**Category:** No Bugs
**Created:** [November 18, 2006, 6:19pm UTC](https://community.mp3tag.de/t/x-text-file-tag-filename-path-matching-inconsistency/4077 "2006-11-18T18:19:35Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![JamieF](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/e495f1/32.png) [@JamieF](https://community.mp3tag.de/u/JamieF)
#### Post date: [November 18, 2006, 6:19pm UTC](https://community.mp3tag.de/t/x-text-file-tag-filename-path-matching-inconsistency/4077/1 "2006-11-18T18:19:35Z")

</div>

Version: 2.37a

Apologies if I'm wrong about this, but...

... it appears that using %\_filename% to cross-reference text file entries doesn't work yet %\_path% does when the number of lines in the text file doesn't match the number of files selected.

Using %\_filename% (and just the file name without an extension in the text file) in this scenario results in Mp3tag ignoring the file name and applying the tags to the first n files that are selected, where n is the number of lines in the text file.

Using %\_path% (with the full path in the text file) works as expected.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [November 19, 2006, 11:10am UTC](https://community.mp3tag.de/t/x-text-file-tag-filename-path-matching-inconsistency/4077/2 "2006-11-19T11:10:21Z")

</div>

Only %\_path% (complete file path) and %\_filename\_ext (filename including extension) are available to match entries from text files.

Best regards,  
Florian

---

<div class="post-metadata">

### Author: ![JamieF](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/e495f1/32.png) [@JamieF](https://community.mp3tag.de/u/JamieF)
#### Post date: [November 19, 2006, 1:51pm UTC](https://community.mp3tag.de/t/x-text-file-tag-filename-path-matching-inconsistency/4077/3 "2006-11-19T13:51:29Z")

</div>

Florian

Thanks for the clarification. Great piece of software.

Regards

Jamie

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [December 28, 2018, 2:17pm UTC](https://community.mp3tag.de/t/x-text-file-tag-filename-path-matching-inconsistency/4077/4 "2018-12-28T14:17:26Z")

</div>

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