# Take Album from Folder Name

**URL:** https://community.mp3tag.de/t/take-album-from-folder-name/13196
**Category:** Support
**Created:** [March 9, 2012, 8:59am UTC](https://community.mp3tag.de/t/take-album-from-folder-name/13196 "2012-03-09T08:59:22Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![sobeitjedi](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@sobeitjedi](https://community.mp3tag.de/u/sobeitjedi)
#### Post date: [March 9, 2012, 8:59am UTC](https://community.mp3tag.de/t/take-album-from-folder-name/13196/1 "2012-03-09T08:59:22Z")

</div>

Hi.

I wish for the Album field in mp3tag to come from the name of the Windows folder the file is in. For example ...

M:\Music\Flac\Oasis\Definitely Maybe\01. OASIS - Rock 'N' Roll Star.flac

The album field will pick up the name of the folder the flac files are in (in the above case, Definitely Maybe).

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [March 9, 2012, 9:09am UTC](https://community.mp3tag.de/t/take-album-from-folder-name/13196/2 "2012-03-09T09:09:43Z")

</div>

Action: Format Value  
Field: ALBUM  
Formatstring: %\_directory%

---

<div class="post-metadata">

### Author: ![sobeitjedi](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@sobeitjedi](https://community.mp3tag.de/u/sobeitjedi)
#### Post date: [March 9, 2012, 10:01am UTC](https://community.mp3tag.de/t/take-album-from-folder-name/13196/3 "2012-03-09T10:01:42Z")

</div>

And what if I wanted AlbumArtist to be named from the directory above that (Oasis in the example)?

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [March 9, 2012, 10:10am UTC](https://community.mp3tag.de/t/take-album-from-folder-name/13196/4 "2012-03-09T10:10:07Z")

</div>

> [@sobeitjedi](#):
>
> And what if I wanted AlbumArtist to be named from the directory above that (Oasis in the example)?

%\_parent\_directory% instead of %\_directory%

see here for Mp3tag's placeholders:  
[https://docs.mp3tag.de/export](https://docs.mp3tag.de/export)

you can do it also in one go with the filename - tag converter.  
Formatstring:

%albumartist%\%album%\%dummy%

or, if you also want to get the values from the filename:

%albumartist%\%album%\%track%. %artist% - %title%

---

<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:23pm UTC](https://community.mp3tag.de/t/take-album-from-folder-name/13196/5 "2026-02-09T12:23:43Z")

</div>


