Export File Name Not Saving Correctly

I’m having a problem with export. When saving the export file name which contains square brackets ie [] the square brackets are omitted and are replaced with spaces.

If the export filename includes directories which are named with square brackets, then it creates a new directory in the directory before the directory with square brackets and then continues without the brackets with a new directory.

Example… I wanted to save this file Various [FLAC].m3u8 in C:\Users\Me\Music\Various [FLAC]\Various [FLAC].m3u8 and it saved it as C:\Users\Me\Music\Various\Various .m3u8

I tried saving it with quotes but that saved in the directory the tracks came from on a different drive and then in that directory it created a new directory called Various\Various .m3u8.

I’m working with version 3.34 I have tried my previous version 3.33.1 and it was the same outcome.

Thanks

Does it work with this syntax?
'['FLAC']'.m3u

Otherwise, please show us what you have tried so far.

But you are right:
"C:\Users\ABC\Music\Various '['FLAC']'\Various '['FLAC']'.m3u"
does not write the Various '['FLAC']'.m3u to my C:-Drive.
Mp3tag write it to the source directory, where my music files are saved.

Update:
Without the double quotes, it seems to work:
C:\Users\ABC\Music\Various '['FLAC']'\Various '['FLAC']'.m3u
creates the file
Various [FLAC].m3u
in
C:\Users\ABC\Music\Various [FLAC]

Everywhere where you set "format strings" the rules as laid out in the documentation apply:

Please show us the real string with which you create the filename.

Success! Thank you.

I saved the export (M3U8 Playlist, relative file paths) playlist to C:\Users\Me\Music\Various ‘[FLAC]’\Various ‘[FLAC]’.m3u8 and I had a directory in Music named Various [FLAC] and in that folder was a playlist called Various [FLAC].m3u8.

Thank you all for your help.