# export template tweaking

**URL:** https://community.mp3tag.de/t/export-template-tweaking/2989
**Category:** Support
**Created:** [March 2, 2006, 4:52pm UTC](https://community.mp3tag.de/t/export-template-tweaking/2989 "2006-03-02T16:52:21Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![nickyrock](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/cdc98d/32.png) [@nickyrock](https://community.mp3tag.de/u/nickyrock)
#### Post date: [March 2, 2006, 4:52pm UTC](https://community.mp3tag.de/t/export-template-tweaking/2989/1 "2006-03-02T16:52:21Z")

</div>

I'm trying to modify an export template so it will automatically point to a playlist in a sub-directory, named the same as the sub-directory. this works fine if all playlists are named playlist.m3u using this string:  
a class="CDTitle" href="$replace(%\_folderpath\_rel%,,/)playlist.m3u"  
but I'm naming the playlists in sub-directories using %\_workingdir%.m3u  
I can't seem to figure out how to get the export template to point to the individually named playlists, I tried using %\_workingdir%.m3u but since I'm doing this from the artists main directory the exported file points to a playlist named after the main artist directory. any way I can do this?

---

<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: [March 4, 2006, 9:06am UTC](https://community.mp3tag.de/t/export-template-tweaking/2989/2 "2006-03-04T09:06:02Z")

</div>

```
$replace(%_folderpath_rel%,\,/)%_directory%.m3u should do the trick.

```

Best regards,  
~ Florian

---

<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:19pm UTC](https://community.mp3tag.de/t/export-template-tweaking/2989/3 "2026-02-09T12:19:40Z")

</div>


