# Multiple file craetion

**URL:** https://community.mp3tag.de/t/multiple-file-craetion/5106
**Category:** Export
**Created:** [July 3, 2007, 6:18pm UTC](https://community.mp3tag.de/t/multiple-file-craetion/5106 "2007-07-03T18:18:28Z")
**Posts on this page:** 2
**Page:** 1

<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: [July 3, 2007, 6:18pm UTC](https://community.mp3tag.de/t/multiple-file-craetion/5106/1 "2007-07-03T18:18:28Z")

</div>

It would be useful, if you can place the command $filename(your\_filename) everywhere within the script file (not only in the beginning of it). For example you could create m3u files as many as artist / album etc. 🙂

Possible script:

$loop(%artist%,1)  
$filename(%artist%.m3u)#EXTM3U  
$loop(%\_filename\_ext%)#EXTINF:%\_length\_seconds%,$if(%artist%,$if(%title%,%artist% - %title%,%\_filename%),%\_filename%)  
$replace(%\_folderpath%%\_filename\_ext%,%\_workingpath%,)  
$loopend()  
$loopend()

---

<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: [August 10, 2007, 2:11pm UTC](https://community.mp3tag.de/t/multiple-file-craetion/5106/2 "2007-08-10T14:11:43Z")

</div>

I'm here again.

We could do complete HTML structure in this way by some clicks. ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:")

Any chance to integrate this thing? Please... Maybe in version 3.0? Or I am the only one who would like this feature?

EDIT: OK. I made a little software to split up the file created by MP3Tag into several pieces with the name and path I need. (I should have created 458 m3u files with unique names in special directories manually. I'm reorganizing my sound archives now.)

I realized that this function was requested by milka [here.](https://community.mp3tag.de/t/2720/1)
