# Filter für \_filename

**URL:** https://community.mp3tag.de/t/filter-fur-filename/9842
**Category:** Allgemein
**Created:** [February 7, 2010, 10:00pm UTC](https://community.mp3tag.de/t/filter-fur-filename/9842 "2010-02-07T22:00:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![anon40879270](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/8797f3/32.png) [@anon40879270](https://community.mp3tag.de/u/anon40879270)
#### Post date: [February 7, 2010, 10:00pm UTC](https://community.mp3tag.de/t/filter-fur-filename/9842/1 "2010-02-07T22:00:17Z")

</div>

Warum funktioniert der Filtereintrag "\_filename HAS txt" nicht, wenn tatsächlich in Dateinamen der String "txt" vorkommt?

---

<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: [February 8, 2010, 5:29am UTC](https://community.mp3tag.de/t/filter-fur-filename/9842/2 "2010-02-08T05:29:25Z")

</div>

ich habe den Filter

%\_filename% HAS txt

an dem Dateinamen  
001 - Mirja Boes \_ Neuer Hund TXT Gonzo.mp3  
ausprobiert und es filtert wunderbar.  
Also: warum funktioniert es nicht?  
Vieleicht weil: die Endung .txt ist nicht Bestandteil von %\_filename% - das wäre %\_filename\_ext%.  
Das HAS ist nicht groß geschrieben gewesen (auch wenn es so im post steht).  
Tja, was könnte sonst noch passiert sein?

---

<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: [February 8, 2010, 7:39am UTC](https://community.mp3tag.de/t/filter-fur-filename/9842/3 "2010-02-08T07:39:13Z")

</div>

Man muss %\_filename% verwenden statt \_filename  
Ohne % funktioniert es nur bei Tagfeldern.
