# Error if Export filename contains an apostrophe

**URL:** https://community.mp3tag.de/t/error-if-export-filename-contains-an-apostrophe/17759
**Category:** Export
**Created:** [March 16, 2016, 5:44pm UTC](https://community.mp3tag.de/t/error-if-export-filename-contains-an-apostrophe/17759 "2016-03-16T17:44:55Z")
**Posts on this page:** 1
**Showing post:** 4

<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: [March 17, 2016, 7:51am UTC](https://community.mp3tag.de/t/error-if-export-filename-contains-an-apostrophe/17759/4 "2016-03-17T07:51:14Z")

</div>

> [@BillK](#):
>
> Thanks for the sample code and the link to the other topic, which was informative. I do understand how the single quote works in scripting. However, I did not know that an output filename put into the dialog box became part of the executable code, and I doubt that a casual user would have any understanding of that. ...

See ... [https://docs.mp3tag.de/export](https://docs.mp3tag.de/export)

> [@](#):
>
> Export file name  
> You can enter the filename of the export file here. If the filename contains some placeholders, Mp3tag will replace them with the specific data at runtime.

There is a hint, that Mp3tag supports own placeholders for creating the export filename.  
Maybe the hint should contain the word "Formatstring" to make it obvious to the reader, ...  
that the filename is scriptable and for example the apostrophe character must be written twice to be used as a literal character.

And take into account that the filesystem itself has a set of invalid characters  
See ... [/t/8311/1](https://community.mp3tag.de/t/8311/1).

DD.20160317.0951.CET

---

_[View the full topic](https://community.mp3tag.de/t/error-if-export-filename-contains-an-apostrophe/17759)._
