# Fix Destination Path Too Long

**URL:** https://community.mp3tag.de/t/fix-destination-path-too-long/18938
**Category:** Support
**Created:** [April 30, 2017, 3:16pm UTC](https://community.mp3tag.de/t/fix-destination-path-too-long/18938 "2017-04-30T15:16:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Beluna](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/ed655f/32.png) [@Beluna](https://community.mp3tag.de/u/Beluna)
#### Post date: [April 30, 2017, 3:16pm UTC](https://community.mp3tag.de/t/fix-destination-path-too-long/18938/1 "2017-04-30T15:16:23Z")

</div>

I'm during a batch action to rename sub-folders based on the parent\_directory using the following action

%\_parent\_directory%,7) - Artwork

While runnig the action, I often get an error msg:

The filename would be too long for the destination folder.

I created this action "$cutRight(%\_parent\_directory%,7) - Artwork" thinking It will resolve the issue but in some cases it doesn't.

Is it possible to create an action that implies:

If Parent\_directory & filename are too long... delete as many characters as need to rename folder.

Thanks

---

<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 30, 2017, 3:19pm UTC](https://community.mp3tag.de/t/fix-destination-path-too-long/18938/2 "2017-04-30T15:19:34Z")

</div>

see e.g. this thread: [/t/16455/1](https://community.mp3tag.de/t/16455/1)

---

<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: [April 30, 2017, 3:40pm UTC](https://community.mp3tag.de/t/fix-destination-path-too-long/18938/3 "2017-04-30T15:40:14Z")

</div>

> [@Beluna](#):
>
> ... The filename would be too long for the destination folder. I created this action "$cutRight(%\_parent\_directory%,7) - Artwork" ...

Note: This string has 10 characters: " - Artwork"

DD.20170430.1940.CEST

---

<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:26pm UTC](https://community.mp3tag.de/t/fix-destination-path-too-long/18938/4 "2026-02-09T12:26:48Z")

</div>


