# how to make the filenames shorter in length?

**URL:** https://community.mp3tag.de/t/how-to-make-the-filenames-shorter-in-length/13324
**Category:** General Discussion
**Created:** [April 14, 2012, 10:46am UTC](https://community.mp3tag.de/t/how-to-make-the-filenames-shorter-in-length/13324 "2012-04-14T10:46:34Z")
**Posts on this page:** 1
**Showing post:** 3

<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: [April 14, 2012, 12:37pm UTC](https://community.mp3tag.de/t/how-to-make-the-filenames-shorter-in-length/13324/3 "2012-04-14T12:37:42Z")

</div>

> [@pone](#):
>
> Action: Format Value  
> Field: \_FILENAME  
> _or_  
> Converter: Tag-Filename
> 
> Formatstring: $left(%\_filename%,25)

Just as an extra option: if you want to make sure that you do not get too many errors that the renaming fails as there is already a file with that (shorter) name, it is ususally a good idea to take care that a number, e.g. the track number does not get trunkated.  
So either you construct a filename that limits the number of characters of all the variables to a certain maximum or you subtract the 4 characters needed for the tracknumber from that length.

---

_[View the full topic](https://community.mp3tag.de/t/how-to-make-the-filenames-shorter-in-length/13324)._
