# Format String struture ? Rename folder and files files ?

**URL:** https://community.mp3tag.de/t/format-string-struture-rename-folder-and-files-files/11038
**Category:** Support
**Created:** [October 31, 2010, 7:28pm UTC](https://community.mp3tag.de/t/format-string-struture-rename-folder-and-files-files/11038 "2010-10-31T19:28:15Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![sept2010](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/edb3f5/32.png) [@sept2010](https://community.mp3tag.de/u/sept2010)
#### Post date: [October 31, 2010, 7:28pm UTC](https://community.mp3tag.de/t/format-string-struture-rename-folder-and-files-files/11038/1 "2010-10-31T19:28:15Z")

</div>

Hi guys,

Here is a example structure of one of my albums before tagging with discogs.

Album:  
VA\_-\_Hed\_Kandi\_The\_Mix\_Summer\_2008-3CD-2008-LiR

Tracks:  
101 - Adele - Cold Shoulder (Out Of Office Remix).mp3  
..  
104 - Syke'n'Sugarstarr Pres. CeCe Rogers - No Love Lost (Extended Mix)  
..  
309 - ATFC & Ghostcopy - Don't Look Back

--

I tagged the album and files with discogs. Getting the following information

Artist:  
Adele

Title:  
Cold Shoulder (Out Of Office Remix) 1-10

Album Artist:  
Various (added this myself)

Album:  
Hed Kandi The Mix: Summer 2008

Disc:  
1

Year:  
2008/07

Publisher:  
Hed Kandi Records

I tagged with this command

VA\_-_%publisher%-%album%_%year%\%discnumber%$num(%track%,2)-$lower(%artist%_-_%title%)

Result:  
\VA\_-_Hed Kandi Records-Hed Kandi The Mix Summer 2008\_200807\101-adele_-\_cold shoulder (out of office remix) 1-01.mp3"

Wanted result:  
\VA\_-_Hed\_Kandi\_Records-Hed\_Kandi\_The\_Mix\_Summer\_2008\_2008.07\101-adele_-_cold\_shoulder_(out\_of\_office\_remix)\_1-01.mp3"

So I want to replace " " with "\_". And for artist and songs containing "&" "´" ...etc, I haven´t figure out any solution for this either ?

The same is then discogs is getting year result in 2008/07. How do you solve this ?

Is is possible to create an .nfo, .m3u and .sfv at the same time ??

Regards  
Magnus

---

_[View the full topic](https://community.mp3tag.de/t/format-string-struture-rename-folder-and-files-files/11038)._
