# Album name from folder Action

**URL:** https://community.mp3tag.de/t/album-name-from-folder-action/12008
**Category:** Support
**Created:** [May 14, 2011, 10:18am UTC](https://community.mp3tag.de/t/album-name-from-folder-action/12008 "2011-05-14T10:18:48Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![tmoca](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/cdc98d/32.png) [@tmoca](https://community.mp3tag.de/u/tmoca)
#### Post date: [May 14, 2011, 10:18am UTC](https://community.mp3tag.de/t/album-name-from-folder-action/12008/1 "2011-05-14T10:18:48Z")

</div>

I thought I asked this here before, but can't seem to find it.

I am looking to create an action that will fill the ALBUM tag in with the folder name that the file resides in.

Can someone point me in the right direction please?

Thanks in advance

---

<div class="post-metadata">

### Author: ![JJ\_Johnson](https://community.mp3tag.de/user_avatar/community.mp3tag.de/jj_johnson/32/67_2.png) [@JJ\_Johnson](https://community.mp3tag.de/u/JJ_Johnson)
#### Post date: [May 14, 2011, 10:30am UTC](https://community.mp3tag.de/t/album-name-from-folder-action/12008/2 "2011-05-14T10:30:29Z")

</div>

Use a 'Format value' action:

_Action type:_ **Format value**  
_Field:_ **ALBUM**  
_Format string:_ **%\_directory%**

Check out the Mp3tag Help. The 'Columns' page contains a list of available variables containing things like file names, folder names, extensions.

[https://docs.mp3tag.de/customization/file-list](https://docs.mp3tag.de/customization/file-list)

---

<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: [May 14, 2011, 12:14pm UTC](https://community.mp3tag.de/t/album-name-from-folder-action/12008/3 "2011-05-14T12:14:34Z")

</div>

> [@tmoca](#):
>
> ... create an action that will fill the ALBUM tag

Do you need an action or would a converter be enough?

Then use the converter filename - tag and a mask like this:  
%album%\%dummy%  
The preview should reasure you that you get the right data.

---

<div class="post-metadata">

### Author: ![tmoca](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/cdc98d/32.png) [@tmoca](https://community.mp3tag.de/u/tmoca)
#### Post date: [May 14, 2011, 2:22pm UTC](https://community.mp3tag.de/t/album-name-from-folder-action/12008/4 "2011-05-14T14:22:53Z")

</div>

> [@JJ Johnson](#):
>
> Use a 'Format value' action:
> 
> _Action type:_ **Format value**  
> _Field:_ **ALBUM**  
> _Format string:_ **%\_directory%**
> 
> Check out the Mp3tag Help. The 'Columns' page contains a list of available variables containing things like file names, folder names, extensions.
> 
> [https://docs.mp3tag.de/customization/file-list](https://docs.mp3tag.de/customization/file-list)

That works! Thanks!

---

<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/album-name-from-folder-action/12008/5 "2026-02-09T12:23:06Z")

</div>


