# Pipe character in filename

**URL:** <https://community.mp3tag.de/t/pipe-character-in-filename/45245>\
**Category:** Support\
**Created:** [April 26, 2019, 3:35am UTC](https://community.mp3tag.de/t/pipe-character-in-filename/45245 "2019-04-26T03:35:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike23](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/e36b37/32.png) [@mike23](https://community.mp3tag.de/u/mike23)\
**Post date:** [April 26, 2019, 3:35am UTC](https://community.mp3tag.de/t/pipe-character-in-filename/45245/1 "2019-04-26T03:35:34Z")

</div>

I have many filenames with a pipe character in the name, as in "file | name"

mp3tag changes the pipe character to "{%". Any to prevent this?

Thanks.

---

<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:** [April 26, 2019, 5:36am UTC](https://community.mp3tag.de/t/pipe-character-in-filename/45245/2 "2019-04-26T05:36:37Z")

</div>

> [@mike23](#):
>
> pipe character ...mp3tag changes the pipe character to "{%". Any to prevent this?

I cannot reproduce this.  
What kind of procedure do you use?  
If you use Convert\>Tag-Filename then the pipe character is replaced with nothing as it is an illegal character for windows filenames.  
If you use $validate() you would have to check what you entered there.

---

<div class="post-metadata">

**Author:** ![mike23](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/e36b37/32.png) [@mike23](https://community.mp3tag.de/u/mike23)\
**Post date:** [April 26, 2019, 6:36am UTC](https://community.mp3tag.de/t/pipe-character-in-filename/45245/3 "2019-04-26T06:36:25Z")

</div>

I forgot it being illegal for windows. The file resides on an SMB share on a Mac. 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:** [May 26, 2019, 6:36am UTC](https://community.mp3tag.de/t/pipe-character-in-filename/45245/4 "2019-05-26T06:36:33Z")

</div>

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