# Use Directory in Album name

**URL:** <https://community.mp3tag.de/t/use-directory-in-album-name/16409>\
**Category:** Support\
**Created:** [December 14, 2014, 12:10am UTC](https://community.mp3tag.de/t/use-directory-in-album-name/16409 "2014-12-14T00:10:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![poyntzj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/a698b9/32.png) [@poyntzj](https://community.mp3tag.de/u/poyntzj)\
**Post date:** [December 14, 2014, 12:10am UTC](https://community.mp3tag.de/t/use-directory-in-album-name/16409/1 "2014-12-14T00:10:08Z")

</div>

I am looking to change the Album field on a few thousand tracks.  
Not to hard as all the files are in sequential folder

album series\01  
album series\02  
and so on

I want to amend just the album using this folder as the prefix is correct in the folder structure, but the tags are inconsistent.

Is this possible ? i looked at trying to use the following Filename - Tag option  
**\%album%\1%track% - %artist% - %title%**  
but this just changes the album to be the folder number  
I cannot see where to start with the Scripts (I see them mentioned, but not how to get a script page up to write anything to make it prefix anything to the album field - If I import using the above Filename - Tag option adding a prefix is easy)  
Any pointers would be appreciated

---

<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:** [December 14, 2014, 7:54am UTC](https://community.mp3tag.de/t/use-directory-in-album-name/16409/2 "2014-12-14T07:54:01Z")

</div>

> [@poyntzj](#):
>
> I am looking to change the Album field on a few thousand tracks. ...  
> album series\01  
> album series\02  
> ... I want to amend just the album using this folder ... Is this possible ?  
> i looked at trying to use the following Filename - Tag option ...  
> but this just changes the album to be the folder number ...

Convert: Tag -Tag  
... or ...  
Action: Format value  
Field: ALBUM  
Formatstring: %\_parent\_directory%

DD.20141214.0958.CET

---

<div class="post-metadata">

**Author:** ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)\
**Post date:** [December 14, 2014, 7:57am UTC](https://community.mp3tag.de/t/use-directory-in-album-name/16409/3 "2014-12-14T07:57:49Z")

</div>

> [@poyntzj](#):
>
> I want to amend just the album using this folder as the prefix is correct in the folder structure, but the tags are inconsistent.

Please supply us with a concrete example, because I don't exactly know what you want to do.

To change the album tag you could use an action "Format Value" or you take the Convert-Menue "Tag-Tag".

With the Converter "Tag-Tag":  
Field: ALBUM  
Format String: %\_directory% %album%

---

<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:** [December 14, 2014, 8:32am UTC](https://community.mp3tag.de/t/use-directory-in-album-name/16409/4 "2014-12-14T08:32:31Z")

</div>

> [@poyntzj](#):
>
> ...  
> album series\01  
> album series\02  
> and so on
> 
> I want to amend just the album using this folder as the prefix ...

If I get it right then you have the same album but several volumes like Bravo Hits 01, Bravo Hits 02, yet the volumes are split up in a separate folder for each volume and the volume number is not yet reflected in the ALBUM field.

You may use the Convert\>Filename-Tag function:  
%album%\%album%\%dummy%  
The first %album% contains "Album series" and the second adds "01" to ALBUM. ALBUM should contain "Album Series 01" after the treatment.

---

<div class="post-metadata">

**Author:** ![poyntzj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/a698b9/32.png) [@poyntzj](https://community.mp3tag.de/u/poyntzj)\
**Post date:** [December 14, 2014, 10:50am UTC](https://community.mp3tag.de/t/use-directory-in-album-name/16409/5 "2014-12-14T10:50:54Z")

</div>

Hi Ohrenkino  
Excellent. I had to rename the folder from an abbreviation and then the conversion, but a 2 second change to achieve what I wanted 🙂

Cheers - much appreciated

> [@ohrenkino](#):
>
> If I get it right then you have the same album but several volumes like Bravo Hits 01, Bravo Hits 02, yet the volumes are split up in a separate folder for each volume and the volume number is not yet reflected in the ALBUM field.
> 
> You may use the Convert\>Filename-Tag function:  
> %album%\%album%\%dummy%  
> The first %album% contains "Album series" and the second adds "01" to ALBUM. ALBUM should contain "Album Series 01" after the treatment.

---

<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:25pm UTC](https://community.mp3tag.de/t/use-directory-in-album-name/16409/6 "2026-02-09T12:25:24Z")

</div>

Closed on February 9, 2026, 12:25pm UTC


