# Album by foldername

**URL:** https://community.mp3tag.de/t/album-by-foldername/53169
**Category:** Support
**Created:** [May 10, 2021, 9:38am UTC](https://community.mp3tag.de/t/album-by-foldername/53169 "2021-05-10T09:38:53Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Nightfly68](https://community.mp3tag.de/user_avatar/community.mp3tag.de/nightfly68/32/9327_2.png) [@Nightfly68](https://community.mp3tag.de/u/Nightfly68)
#### Post date: [May 10, 2021, 9:38am UTC](https://community.mp3tag.de/t/album-by-foldername/53169/1 "2021-05-10T09:38:53Z")

</div>

Goodmorning everyone it's my first post here.

I need to tag all the album field in a USB key by the foldername.

I tried selecting all files and putting in the filed Album the string " %foldername% " leaving all the others as

But the results is that the album title si litterally %foldername%

How can I obtain what I need?

---

<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 10, 2021, 9:42am UTC](https://community.mp3tag.de/t/album-by-foldername/53169/2 "2021-05-10T09:42:10Z")

</div>

Have a look at the FAQs on [how to use parts of the folder structure to get data](https://community.mp3tag.de/t/converters-to-rename-files-or-to-import-tags/8016/3).

---

<div class="post-metadata">

### Author: ![ryerman](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ryerman/32/5285_2.png) [@ryerman](https://community.mp3tag.de/u/ryerman)
#### Post date: [May 10, 2021, 1:46pm UTC](https://community.mp3tag.de/t/album-by-foldername/53169/3 "2021-05-10T13:46:27Z")

</div>

> [@Nightfly68](#):
>
> How can I obtain what I need?

ohrenkino has shown where to find the documentation that explains the general case, in order to use any part of a file path.  
There are also "Information" fields, some of which can be viewed as shortcuts to various parts of the path.  
You can see them when you Customize columns (right-click on columns header) and here: [File List – Mp3tag Documentation](https://docs.mp3tag.de/customization/file-list)  
Maybe %\_directory% is the one you want.

---

<div class="post-metadata">

### Author: ![Nightfly68](https://community.mp3tag.de/user_avatar/community.mp3tag.de/nightfly68/32/9327_2.png) [@Nightfly68](https://community.mp3tag.de/u/Nightfly68)
#### Post date: [May 10, 2021, 3:46pm UTC](https://community.mp3tag.de/t/album-by-foldername/53169/4 "2021-05-10T15:46:46Z")

</div>

Thank you for your help

---

<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/album-by-foldername/53169/5 "2026-02-09T12:29:13Z")

</div>


