# The script to remane the files tag-filename sometimes adds an extra space!

**URL:** https://community.mp3tag.de/t/the-script-to-remane-the-files-tag-filename-sometimes-adds-an-extra-space/3944
**Category:** Support
**Created:** [October 22, 2006, 6:54pm UTC](https://community.mp3tag.de/t/the-script-to-remane-the-files-tag-filename-sometimes-adds-an-extra-space/3944 "2006-10-22T18:54:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Marcabove](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/3d9bf3/32.png) [@Marcabove](https://community.mp3tag.de/u/Marcabove)
#### Post date: [October 22, 2006, 6:54pm UTC](https://community.mp3tag.de/t/the-script-to-remane-the-files-tag-filename-sometimes-adds-an-extra-space/3944/1 "2006-10-22T18:54:48Z")

</div>

It happens on some of the other but is mainly this one that causes the problem. %album% - $num(%track%,2) - %artist% - %title% will write the tag like this "album track artist title" to correct it I have to use %album%- $num(%track%,2) - %artist% - %title%. Sometimes the problem happens after track also. Any suggestions?

Marc

---

<div class="post-metadata">

### Author: ![Sebastian\_Mares](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sebastian_mares/32/9285_2.png) [@Sebastian\_Mares](https://community.mp3tag.de/u/Sebastian_Mares)
#### Post date: [October 22, 2006, 7:29pm UTC](https://community.mp3tag.de/t/the-script-to-remane-the-files-tag-filename-sometimes-adds-an-extra-space/3944/2 "2006-10-22T19:29:55Z")

</div>

Are you sure the extra space is not in the title? Any special characters, maybe?

---

<div class="post-metadata">

### Author: ![Marcabove](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/3d9bf3/32.png) [@Marcabove](https://community.mp3tag.de/u/Marcabove)
#### Post date: [October 22, 2006, 7:49pm UTC](https://community.mp3tag.de/t/the-script-to-remane-the-files-tag-filename-sometimes-adds-an-extra-space/3944/3 "2006-10-22T19:49:53Z")

</div>

I just sort of dawned on me - if I'm C&P the information - if I have gone one space to far and the script is reacting to that.

Marc

---

<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:19pm UTC](https://community.mp3tag.de/t/the-script-to-remane-the-files-tag-filename-sometimes-adds-an-extra-space/3944/4 "2026-02-09T12:19:57Z")

</div>


