# Extract ALBUM name from directory

**URL:** https://community.mp3tag.de/t/extract-album-name-from-directory/892
**Category:** General Discussion
**Created:** [March 11, 2004, 3:46pm UTC](https://community.mp3tag.de/t/extract-album-name-from-directory/892 "2004-03-11T15:46:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Sune](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@Sune](https://community.mp3tag.de/u/Sune)
#### Post date: [March 11, 2004, 3:46pm UTC](https://community.mp3tag.de/t/extract-album-name-from-directory/892/1 "2004-03-11T15:46:00Z")

</div>

Hi all and thanks for a great product!

A lot of my files are in directories like d:\music\milli vanilli\the black album\01 - rock you.mp3

How can I extract the directory names?

Thanks once again for a great product:)

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [March 11, 2004, 4:24pm UTC](https://community.mp3tag.de/t/extract-album-name-from-directory/892/2 "2004-03-11T16:24:55Z")

</div>

Hi Sune,

> [@](#):
>
> How can I extract the directory names?

simply use a format string like  
**%artist%\%album%\%track% - %title%**  
for the example above at Converter, Filename - Tag.

Best regards,  
~ Florian
