# Using part of the folder name for tagging

**URL:** <https://community.mp3tag.de/t/using-part-of-the-folder-name-for-tagging/57285>\
**Category:** Support\
**Created:** [May 12, 2022, 5:34pm UTC](https://community.mp3tag.de/t/using-part-of-the-folder-name-for-tagging/57285 "2022-05-12T17:34:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomdra8](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/dc4da7/32.png) [@thomdra8](https://community.mp3tag.de/u/thomdra8)\
**Post date:** [May 12, 2022, 5:34pm UTC](https://community.mp3tag.de/t/using-part-of-the-folder-name-for-tagging/57285/1 "2022-05-12T17:34:34Z")

</div>

Hi everyone!

I'm quite new to mp3tag and it's community so sorry if the question has already been asked.

I have a lot of techno albums I bought of Bandcamp and i finally started to tag them with their appropriate metadata. It's a lot of songs so I want to automize it as much as possible. The track, artist and title tags are going very well but the album artist and album tags are quite a hassle. At the moment my folder structure is as such:

"Record Label/Artist - Album name/Songs"

I want to know if it is possible to use the %\_directory% but only for part of the folder name. This way I could make it so that the album name and album artist can be sorted in their own data column without the full folder name being in both.

Thanks in advance!

---

<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 12, 2022, 5:36pm UTC](https://community.mp3tag.de/t/using-part-of-the-folder-name-for-tagging/57285/2 "2022-05-12T17:36:06Z")

</div>

See the documentation:

> **[Import Tags from File and Folder Names – Mp3tag Documentation](https://docs.mp3tag.de/converters/import-tags-from-filenames/)**
>
> Documentation on Filename to Tag, a converter to import tags from file and folder names. Mp3tag is the universal Tag Editor.

---

<div class="post-metadata">

**Author:** ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)\
**Post date:** [May 12, 2022, 6:21pm UTC](https://community.mp3tag.de/t/using-part-of-the-folder-name-for-tagging/57285/3 "2022-05-12T18:21:05Z")

</div>

> [@thomdra8](#):
>
> "Record Label/Artist - Album name/Songs"

From this folder structure, is the "Artist" truly the song artist, or is it the AlbumArtist? And if it is AlbumArtist, how are you able to separately identify a song Artist on compilation Albums, or at least identify the compilations to handle differently? This will matter if you are trying to automate the process.

---

<div class="post-metadata">

**Author:** ![thomdra8](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/dc4da7/32.png) [@thomdra8](https://community.mp3tag.de/u/thomdra8)\
**Post date:** [May 12, 2022, 7:46pm UTC](https://community.mp3tag.de/t/using-part-of-the-folder-name-for-tagging/57285/4 "2022-05-12T19:46:27Z")

</div>

Thankyou for the reply!

After looking at the documentation some more I came up with a string that works perfectly for me!

This is my folder structure:  
`Music\Various Artists - EP 1\1.Nene H - No Pause For Reflection.flac`

And this is the string I used:  
`%dummy%\%albumartist% - %album%\%track%.%artist% - %title%`

Using this method the song artist stays intact but with the benefit of having the album artist say "Various Artists". This string has worked perfectly for the last 100 songs so I'm sure it will work out in the long run!

---

<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:29pm UTC](https://community.mp3tag.de/t/using-part-of-the-folder-name-for-tagging/57285/5 "2026-02-09T12:29:46Z")

</div>


