# Long Filename Highlight

**URL:** https://community.mp3tag.de/t/long-filename-highlight/8499
**Category:** Support
**Created:** [June 24, 2009, 2:23pm UTC](https://community.mp3tag.de/t/long-filename-highlight/8499 "2009-06-24T14:23:17Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![JayLaFunk](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/aca169/32.png) [@JayLaFunk](https://community.mp3tag.de/u/JayLaFunk)
#### Post date: [June 24, 2009, 2:23pm UTC](https://community.mp3tag.de/t/long-filename-highlight/8499/1 "2009-06-24T14:23:17Z")

</div>

Hi,

Just new to this great app, finding my way round all the actions which have been a great help to me...

Is there an action for this, I would like the filename to be highlighted or to stand out in some way if it is more than 64 Characters then I could edit them to what I would like...

Cheers  
Jay

---

<div class="post-metadata">

### Author: ![Stevest](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/a698b9/32.png) [@Stevest](https://community.mp3tag.de/u/Stevest)
#### Post date: [June 24, 2009, 2:55pm UTC](https://community.mp3tag.de/t/long-filename-highlight/8499/2 "2009-06-24T14:55:25Z")

</div>

1. Click on menuitem 'View / Customize columns...'
2. Highlight 'Filename' on the left
3. Edit field 'Value' in the right: change **%\_filename\_ext%** to **$ifgreater($len(%\_filename%),64,\*,)%\_filename\_ext%**
4. Click OK

There will be an asterisk before the filenames longer the 64 character (without the extension).

---

<div class="post-metadata">

### Author: ![JayLaFunk](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/aca169/32.png) [@JayLaFunk](https://community.mp3tag.de/u/JayLaFunk)
#### Post date: [June 24, 2009, 3:46pm UTC](https://community.mp3tag.de/t/long-filename-highlight/8499/3 "2009-06-24T15:46:28Z")

</div>

Hi,

Thank you, tried what you said and it does show the asterisk but it then won't let me edit the filename, when I try to edit, it gives me this message - The Filename, Directory name, or volume label syntax is incorrect

Jay

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [June 24, 2009, 4:55pm UTC](https://community.mp3tag.de/t/long-filename-highlight/8499/4 "2009-06-24T16:55:21Z")

</div>

Create a new column just beside the filename column and give it the value  
**$ifgreater($len(%\_filename\_ext%),64,!$len(%\_filename\_ext%),)**

It tells you the currrent length of the filename when filename is longer than 64 characters (including extension).

Other example:  
**$ifgreater($len(%\_filename\_ext%),64,$sub($len(%\_filename\_ext%),64),)**

It tells you how many characters have to be cut.

DD.20090624.2103.CEST

---

<div class="post-metadata">

### Author: ![JayLaFunk](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/aca169/32.png) [@JayLaFunk](https://community.mp3tag.de/u/JayLaFunk)
#### Post date: [June 24, 2009, 5:27pm UTC](https://community.mp3tag.de/t/long-filename-highlight/8499/5 "2009-06-24T17:27:46Z")

</div>

Cheers DetlevD,

Have added both of your actions, work a treat...

Regards  
Jay

---

<div class="post-metadata">

### Author: ![Stevest](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/a698b9/32.png) [@Stevest](https://community.mp3tag.de/u/Stevest)
#### Post date: [June 24, 2009, 7:50pm UTC](https://community.mp3tag.de/t/long-filename-highlight/8499/6 "2009-06-24T19:50:38Z")

</div>

Oops, I see the problem in my version. If you try to edit the filename (clicking on it), the asterisk should be removed manually (because it is not allowed in a filename). So Detlev's separate column solution is much better. 🙂

---

<div class="post-metadata">

### Author: ![JayLaFunk](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/aca169/32.png) [@JayLaFunk](https://community.mp3tag.de/u/JayLaFunk)
#### Post date: [June 25, 2009, 5:10pm UTC](https://community.mp3tag.de/t/long-filename-highlight/8499/7 "2009-06-25T17:10:31Z")

</div>

Hi Steve,

Got it sorted but thanks for taking the time to reply to my request...

Jay

---

<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/long-filename-highlight/8499/8 "2026-02-09T12:21:36Z")

</div>


