# select many files and create a album /artist tag from the directory name

**URL:** https://community.mp3tag.de/t/select-many-files-and-create-a-album-artist-tag-from-the-directory-name/8805
**Category:** Support
**Created:** [August 19, 2009, 12:54am UTC](https://community.mp3tag.de/t/select-many-files-and-create-a-album-artist-tag-from-the-directory-name/8805 "2009-08-19T00:54:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rclcmorin](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/c2a13f/32.png) [@rclcmorin](https://community.mp3tag.de/u/rclcmorin)
#### Post date: [August 19, 2009, 12:54am UTC](https://community.mp3tag.de/t/select-many-files-and-create-a-album-artist-tag-from-the-directory-name/8805/1 "2009-08-19T00:54:28Z")

</div>

I am trying to put %directory% in the artist and album fields and click save tag? No matter the format it takes %directory% and puts it in the tag. Tried all versions of quotes. Read all the examples I could find???????? I must be real slow????

---

<div class="post-metadata">

### Author: ![newser](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/b9bd4f/32.png) [@newser](https://community.mp3tag.de/u/newser)
#### Post date: [August 19, 2009, 3:25am UTC](https://community.mp3tag.de/t/select-many-files-and-create-a-album-artist-tag-from-the-directory-name/8805/2 "2009-08-19T03:25:09Z")

</div>

> [@rclcmorin](#):
>
> I am trying to put %directory% in the artist and album fields ...

Have you tried %\_directory%?

---

<div class="post-metadata">

### Author: ![rclcmorin](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/c2a13f/32.png) [@rclcmorin](https://community.mp3tag.de/u/rclcmorin)
#### Post date: [August 20, 2009, 12:20am UTC](https://community.mp3tag.de/t/select-many-files-and-create-a-album-artist-tag-from-the-directory-name/8805/3 "2009-08-20T00:20:32Z")

</div>

> [@rclcmorin](#):
>
> I am trying to put %directory% in the artist and album fields and click save tag? No matter the format it takes %directory% and puts it in the tag. Tried all versions of quotes. Read all the examples I could find???????? I must be real slow????

Managed to use actions never made the same work with panel and filename tag???

this worked

you can use the action 'Format Value':  
Field: ARTIST  
Format string: %\_directory%

---

<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/select-many-files-and-create-a-album-artist-tag-from-the-directory-name/8805/4 "2026-02-09T12:21:43Z")

</div>


