# Tagging Using folder and subfolders only

**URL:** https://community.mp3tag.de/t/tagging-using-folder-and-subfolders-only/8439
**Category:** Support
**Created:** [June 13, 2009, 8:20am UTC](https://community.mp3tag.de/t/tagging-using-folder-and-subfolders-only/8439 "2009-06-13T08:20:23Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![spy\_king](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/a5b964/32.png) [@spy\_king](https://community.mp3tag.de/u/spy_king)
#### Post date: [June 13, 2009, 8:20am UTC](https://community.mp3tag.de/t/tagging-using-folder-and-subfolders-only/8439/1 "2009-06-13T08:20:23Z")

</div>

Hello,

I just formatted my comp, so I lost an old action that I had copied off the forums..

my music is set up like this..

H:\Artist\Album\somename.mp3

Earlier, I had an action that would just update the artist and the album tags using the folder and subfolder.. I can't use the filename to tag option, as each file name is different...

Any help?

Thanks 🙂

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [June 13, 2009, 10:26am UTC](https://community.mp3tag.de/t/tagging-using-folder-and-subfolders-only/8439/2 "2009-06-13T10:26:39Z")

</div>

"Filename - Tag" also supports directories:  
[/t/8016/1](https://community.mp3tag.de/t/8016/1)

If you want to use an action use "Format value" and the placeholders %\_directory% and %\_parent\_directory%

I.e.  
_Action type:_ **Format value**  
_Field:_ **ARTIST**  
_Format string:_ **%\_parent\_directory%**

---

<div class="post-metadata">

### Author: ![spy\_king](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/a5b964/32.png) [@spy\_king](https://community.mp3tag.de/u/spy_king)
#### Post date: [June 14, 2009, 2:53am UTC](https://community.mp3tag.de/t/tagging-using-folder-and-subfolders-only/8439/3 "2009-06-14T02:53:54Z")

</div>

> [@dano](#):
>
> "Filename - Tag" also supports directories:  
> [/t/8016/1](https://community.mp3tag.de/t/8016/1)
> 
> If you want to use an action use "Format value" and the placeholders %\_directory% and %\_parent\_directory%

Hello 🙂

I can't use the filename to tag as each of my filenames are different, so I can't create %dummy% or %title% accordingly..

Also, I tried the actions, but I don't seem to be getting it right.

here is what I did..

Actions\>new action\>format Value\>  
Field %\_parent\_directory%  
Format value %artist%

and  
Filed %\_directory%  
Format Value %album%

It doesn't work.. ☹ what am I doing wrong?

Thanks!

EDIT: Figured it out.. thanks 🙂

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [June 14, 2009, 2:25pm UTC](https://community.mp3tag.de/t/tagging-using-folder-and-subfolders-only/8439/4 "2009-06-14T14:25:18Z")

</div>

The converter also works. You can match the file name with only one placeholder:  
%artist%\%album%\%dummy%

I also edited my post to show a correct example for the action.

---

<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:21pm UTC](https://community.mp3tag.de/t/tagging-using-folder-and-subfolders-only/8439/5 "2026-02-09T12:21:35Z")

</div>


