# Export txt file with square brackets

**URL:** https://community.mp3tag.de/t/export-txt-file-with-square-brackets/10434
**Category:** Support
**Created:** [May 14, 2010, 5:08am UTC](https://community.mp3tag.de/t/export-txt-file-with-square-brackets/10434 "2010-05-14T05:08:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Varden](https://community.mp3tag.de/user_avatar/community.mp3tag.de/varden/32/293_2.png) [@Varden](https://community.mp3tag.de/u/Varden)
#### Post date: [May 14, 2010, 5:08am UTC](https://community.mp3tag.de/t/export-txt-file-with-square-brackets/10434/1 "2010-05-14T05:08:28Z")

</div>

I want to make txt file with information thal looks like

```
[b]01. [/b]Down the River
[b]02. [/b]Mr. Devil and the Black Widow Woman
[b]03. [/b]The Hillside
[b]04. [/b]Wicked Well
....

```

But i can`t make "[" or "]".

---

<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: [May 14, 2010, 5:49am UTC](https://community.mp3tag.de/t/export-txt-file-with-square-brackets/10434/2 "2010-05-14T05:49:10Z")

</div>

> [@Varden](#):
>
> ... i can`t make "[" or "]".

Search the forum for "single quote around reserved characters" ...  
... or read the Mp3tag Help Manual  
[https://docs.mp3tag.de/scripting](https://docs.mp3tag.de/scripting)  
... at the end of the page.

If you want to output literal strings from within a Mp3tag export script, then enclose all literal strings in single quotes and leave all Mp3tag scripting elements as is, e. g.

```
'[b]'$num(%track%,2)'.[/b] '%title%

```

If you use an editor with support for Mp3tag syntax coloring, then the parts will be obvious, what is Mp3tag scripting syntax and what is literal output.

DD.20100514.1010.CEST

---

<div class="post-metadata">

### Author: ![Varden](https://community.mp3tag.de/user_avatar/community.mp3tag.de/varden/32/293_2.png) [@Varden](https://community.mp3tag.de/u/Varden)
#### Post date: [May 15, 2010, 5:05am UTC](https://community.mp3tag.de/t/export-txt-file-with-square-brackets/10434/3 "2010-05-15T05:05:07Z")

</div>

> [@DetlevD](#):
>
> ''$num(%track%,2)'. '%title%

Thanks, it works. I used `, not '.

---

<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:22pm UTC](https://community.mp3tag.de/t/export-txt-file-with-square-brackets/10434/4 "2026-02-09T12:22:23Z")

</div>


