# How to use quotation marks in actions

**URL:** https://community.mp3tag.de/t/how-to-use-quotation-marks-in-actions/9647
**Category:** Support
**Created:** [January 5, 2010, 5:24am UTC](https://community.mp3tag.de/t/how-to-use-quotation-marks-in-actions/9647 "2010-01-05T05:24:38Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![skypilotpete](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/a9adbd/32.png) [@skypilotpete](https://community.mp3tag.de/u/skypilotpete)
#### Post date: [January 5, 2010, 5:24am UTC](https://community.mp3tag.de/t/how-to-use-quotation-marks-in-actions/9647/1 "2010-01-05T05:24:38Z")

</div>

I want to create an action that inserts quotation marks around the title tag and results in the filename having the format: Album Tracknumber "Title".mp3

However, it seems that " is a reserved character and Mp3tag won't let me use it.

I have tried: %Album% %Track% "%Title%", but when I run that, the title appears without the quotations marks. i.e. as Abbey Road 03 Maxwell's Silver Hammer.mp3  
rather than: Abbey Road 03 "Maxwell's Silver Hammer".mp3)

Is there any way that I can put quotation marks aound values in actions?

---

<div class="post-metadata">

### Author: ![JJ\_Johnson](https://community.mp3tag.de/user_avatar/community.mp3tag.de/jj_johnson/32/67_2.png) [@JJ\_Johnson](https://community.mp3tag.de/u/JJ_Johnson)
#### Post date: [January 5, 2010, 5:50am UTC](https://community.mp3tag.de/t/how-to-use-quotation-marks-in-actions/9647/2 "2010-01-05T05:50:01Z")

</div>

> [@skypilotpete](#):
>
> Is there any way that I can put quotation marks around values in actions?

No. Not double quotes ("), but you could use single quotes (') if you like. The problem isn't that double quotes are reserved in Mp3tag, the problem is that they're not legal characters within Windows filenames. The illegal Windows filename characters are:

\ / : \* " ? \< \> |

---

<div class="post-metadata">

### Author: ![skypilotpete](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/a9adbd/32.png) [@skypilotpete](https://community.mp3tag.de/u/skypilotpete)
#### Post date: [January 5, 2010, 6:17am UTC](https://community.mp3tag.de/t/how-to-use-quotation-marks-in-actions/9647/3 "2010-01-05T06:17:45Z")

</div>

Thanks for your reply. However, I can't get single quotes (') to work either.

If my action is: Format value "\_FILENAME": %Album% %Track% '%Title%'  
the result is: Abbey Road 03 %Title%.mp3 rather than  
Abbey Road 03 'Maxwell's Silver Hammer'.mp3  
Single quotes appear to be a sign to Mp3tag to insert the tag type rather than the text the tag refers to.  
I tested the basic syntax by trying "\_FILENAME": %Album% %Track% $%Title%$  
and that resulted in Abbey Road 03 $Maxwell's Silver Hammer$.mp3  
So it seems that Mp3tag doesn't like single quotes either.

Is there a way around this one?

> [@JJ Johnson](#):
>
> No. Not double quotes ("), but you could use single quotes (') if you like. The problem isn't that double quotes are reserved in Mp3tag, the problem is that they're not legal characters within Windows filenames. The illegal Windows filename characters are:
> 
> \ / : \* " ? \< \> |

---

<div class="post-metadata">

### Author: ![JJ\_Johnson](https://community.mp3tag.de/user_avatar/community.mp3tag.de/jj_johnson/32/67_2.png) [@JJ\_Johnson](https://community.mp3tag.de/u/JJ_Johnson)
#### Post date: [January 5, 2010, 6:40am UTC](https://community.mp3tag.de/t/how-to-use-quotation-marks-in-actions/9647/4 "2010-01-05T06:40:29Z")

</div>

Check out the Help (bottom of the page). Try using ''

[https://docs.mp3tag.de/scripting](https://docs.mp3tag.de/scripting)

BTW, you can get something that _looks_ like double quotes by doubling up the single quotes (use '''').

---

<div class="post-metadata">

### Author: ![skypilotpete](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/a9adbd/32.png) [@skypilotpete](https://community.mp3tag.de/u/skypilotpete)
#### Post date: [January 5, 2010, 6:54am UTC](https://community.mp3tag.de/t/how-to-use-quotation-marks-in-actions/9647/5 "2010-01-05T06:54:06Z")

</div>

Thanks, using two single quotes before and after %Title% results in the title text being enclosed in single quotes.  
Your suggestion of using 4 single quotes before and after %Title% also worked, resulting in the appearance of double quotes enclosing the title text.

Thanks again for your quick suggestions.

> [@JJ Johnson](#):
>
> Check out the Help (bottom of the page). Try using ''
> 
> [https://docs.mp3tag.de/scripting](https://docs.mp3tag.de/scripting)
> 
> BTW, you can get something that _looks_ like double quotes by doubling up the single quotes (use '''').

---

<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: [January 5, 2010, 7:05am UTC](https://community.mp3tag.de/t/how-to-use-quotation-marks-in-actions/9647/6 "2010-01-05T07:05:51Z")

</div>

> [@JJ Johnson](#):
>
> ... BTW, you can get something that _looks_ like double quotes by doubling up the single quotes (use '''').

But this costs two characters of the filepath! (for decorative cosmetical view).

DD.20100105.0905.CET

---

<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/how-to-use-quotation-marks-in-actions/9647/7 "2026-02-09T12:22:04Z")

</div>


