# Tagging Artist & Album from file path

**URL:** <https://community.mp3tag.de/t/tagging-artist-album-from-file-path/4403>\
**Category:** Support\
**Created:** [January 31, 2007, 6:33pm UTC](https://community.mp3tag.de/t/tagging-artist-album-from-file-path/4403 "2007-01-31T18:33:14Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![drmusic](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/2bfe46/32.png) [@drmusic](https://community.mp3tag.de/u/drmusic)\
**Post date:** [January 31, 2007, 6:33pm UTC](https://community.mp3tag.de/t/tagging-artist-album-from-file-path/4403/1 "2007-01-31T18:33:14Z")

</div>

Hi!

I store my MP3's like this:  
Genre/Artist/Year Album/Track Title.mp3

Is there a way to automatically tag the Album and Artist by pulling the file's path name apart? I need to go up a directory to get the album and go up two directories to get the artist.

Right now I am doing each album & artist by hand, but do track number and title automatically. I hope there is an easier way!

This is the best tagger I have tried so far! Thanks!!  
Scott

---

<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:** [January 31, 2007, 8:34pm UTC](https://community.mp3tag.de/t/tagging-artist-album-from-file-path/4403/2 "2007-01-31T20:34:47Z")

</div>

You can use "Convert \> Filename - Tag" with a string like:  
%artist%\%dummy% %album%\%dummy%  
or  
%artist%\%year% %album%\%dummy%  
if you also want to catch the year.

---

<div class="post-metadata">

**Author:** ![drmusic](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/2bfe46/32.png) [@drmusic](https://community.mp3tag.de/u/drmusic)\
**Post date:** [January 31, 2007, 8:39pm UTC](https://community.mp3tag.de/t/tagging-artist-album-from-file-path/4403/3 "2007-01-31T20:39:06Z")

</div>

That did the trick!! Thank you very much!!  
Scott

---

<div class="post-metadata">

**Author:** ![1HotJob](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/1/f0a364/32.png) [@1HotJob](https://community.mp3tag.de/u/1HotJob)\
**Post date:** [December 26, 2019, 4:38pm UTC](https://community.mp3tag.de/t/tagging-artist-album-from-file-path/4403/4 "2019-12-26T16:38:40Z")

</div>

I have \Folder1\Folder2\Folder3\Folder4\Artist - Album

I've tried different variations of:  
%dummy%%dummy%%dummy%%dummy%%artist%%album% Gets me: **Album** filename  
%dummy%%dummy%%dummy%%dummy%%artist%%album% Gets me: **Artist** artist **Album** filename

It seems no matter what variation I try, I cannot get it right. I want **Artist** Artist **Album** Album

Thanks for your help.

---

<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 26, 2019, 5:07pm UTC](https://community.mp3tag.de/t/tagging-artist-album-from-file-path/4403/5 "2019-12-26T17:07:47Z")

</div>

Could you enclose the path in accent grave (accent from top left to bottom right) - all the backslashes have vanished due to formatting.

In general: if the information for 1 tag field (e.g. ARTIST) is spread over several foldernames you have to import the data from that part of the path to a user-defined auxiliary field, e.g. TMP\_ARTIST and then merge the standard tag field with the user-defined field in a second step.  
So an import string could look like this:  
`%artist%\%album%\%tmp_artist%\%tmp_album%\%dummy%`

---

<div class="post-metadata">

**Author:** ![1HotJob](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/1/f0a364/32.png) [@1HotJob](https://community.mp3tag.de/u/1HotJob)\
**Post date:** [December 26, 2019, 5:49pm UTC](https://community.mp3tag.de/t/tagging-artist-album-from-file-path/4403/6 "2019-12-26T17:49:59Z")

</div>

> [@1HotJob](#):
>
> %dummy%%dummy%%dummy%%dummy%%artist% - %album% Gets me: **Album** filename  
> %dummy%%dummy%%dummy%%dummy%%artist%%album% Gets me: **Artist** artist **Album** filename

In the 4th folder I have 10-15 folders that are named Artist - Album. Trying to get **Artist** and **Album** with no luck. I am selecting one folder at a time like: Queen - Greatest Hits

---

<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 26, 2019, 6:30pm UTC](https://community.mp3tag.de/t/tagging-artist-album-from-file-path/4403/7 "2019-12-26T18:30:06Z")

</div>

To get the data from the folder that holds the file, use a  
Format string: `%artist% - %album%\%dummy%`  
for the function Convert\>Filename-Tag

---

<div class="post-metadata">

**Author:** ![1HotJob](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/1/f0a364/32.png) [@1HotJob](https://community.mp3tag.de/u/1HotJob)\
**Post date:** [December 26, 2019, 6:34pm UTC](https://community.mp3tag.de/t/tagging-artist-album-from-file-path/4403/8 "2019-12-26T18:34:08Z")

</div>

> [@ohrenkino](#):
>
> %artist% - %album%%dummy%

Thank you very much. That worked great. Such a time saver learning all theses commands.

Is there a way to sort the Filename-Tag drop down menu? It would make looking up previously used strings much easier.

---

<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 26, 2019, 6:37pm UTC](https://community.mp3tag.de/t/tagging-artist-album-from-file-path/4403/9 "2019-12-26T18:37:30Z")

</div>

> [@1HotJob](#):
>
> Is there a way to sort the Filename-Tag drop down menu?

No, but it uses an incremental search.

---

<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:20pm UTC](https://community.mp3tag.de/t/tagging-artist-album-from-file-path/4403/10 "2026-02-09T12:20:07Z")

</div>


