# One file per directory switch set in export action

**URL:** https://community.mp3tag.de/t/one-file-per-directory-switch-set-in-export-action/65944
**Category:** Support
**Created:** [September 15, 2024, 8:41pm UTC](https://community.mp3tag.de/t/one-file-per-directory-switch-set-in-export-action/65944 "2024-09-15T20:41:14Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![chayes](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/e0b2c6/32.png) [@chayes](https://community.mp3tag.de/u/chayes)
#### Post date: [September 15, 2024, 8:41pm UTC](https://community.mp3tag.de/t/one-file-per-directory-switch-set-in-export-action/65944/1 "2024-09-15T20:41:14Z")

</div>

Can the 'One file per directory' switch in the Export Configuration dialog be toggled by the code?

In my code

$filename(PlayMe.m3u)  
$loop(1)%\_folderpath%%\_filename\_ext%  
$loopend()

It would useful to turn the switch on or off without having to check the radio button manually.

Grateful for any advice..

🙂

---

<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: [September 15, 2024, 8:49pm UTC](https://community.mp3tag.de/t/one-file-per-directory-switch-set-in-export-action/65944/2 "2024-09-15T20:49:03Z")

</div>

> [@chayes](#):
>
> Can the 'One file per directory' switch in the Export Configuration dialog be toggled by the code?

No, it can't.  
Perhaps it is easier to use the playlist generator.

---

<div class="post-metadata">

### Author: ![chayes](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/e0b2c6/32.png) [@chayes](https://community.mp3tag.de/u/chayes)
#### Post date: [September 15, 2024, 9:39pm UTC](https://community.mp3tag.de/t/one-file-per-directory-switch-set-in-export-action/65944/3 "2024-09-15T21:39:15Z")

</div>

OK thanks for your help.

🙂

---

<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: [October 15, 2024, 9:39pm UTC](https://community.mp3tag.de/t/one-file-per-directory-switch-set-in-export-action/65944/4 "2024-10-15T21:39:42Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
