# Tags from file path

**URL:** https://community.mp3tag.de/t/tags-from-file-path/10024
**Category:** Support
**Created:** [March 3, 2010, 2:57pm UTC](https://community.mp3tag.de/t/tags-from-file-path/10024 "2010-03-03T14:57:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ebroll](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/7993a0/32.png) [@ebroll](https://community.mp3tag.de/u/ebroll)
#### Post date: [March 3, 2010, 2:57pm UTC](https://community.mp3tag.de/t/tags-from-file-path/10024/1 "2010-03-03T14:57:39Z")

</div>

Hi,  
I've been reading the forum for 1 day and I couldnt find something like what i'm needing.  
So here it goes:  
I want tags to be like this, and every tag taken from path.

_Title:_ taken from the file name, but without the first two numbers, the space, the hyphen and the space. That is to say to omit the first five characters. Obviously without the extension.

_Artist:_ taken from the name of the folder after music folder.

_Album arstist:_ same as Artist.

_Album:_ taken from the name of the folder that contains the file, but without the first four numbers (the year), the space, the Hyphen and the space. That is to say to omit the first seven characters.

_Track:_ the two first numbers from the file name.

_Year:_ taken from the name of the folder that contains the file. Only the first four numbers or characters.

Other tags should be deleted. Such as composer, disc number, genre and the others we cannot see.

Here's and example:

Source:  
Path: "C:\Users\xxxxxx\Music\Genesis\1969 - From Genesis To Revelation"  
File name: "01 - The Silent Sun.mp3"

 

Tag:  
Title: The Silent Sun  
Artist: Genesis  
Album arstist: Genesis  
Album: From Genesis To Revelation  
Track: 01  
Year: 1969

 

I wish I was precisely enough for you to understand.

THANKSSSSSSSSSSSSSSSSSSSSSSSSS ![:w00t:](https://community.mp3tag.de/uploads/default/original/1X/cb01eca72fe9339ff6f3ec9f1e3c5fe002be0f0a.gif ":w00t:") ![:w00t:](https://community.mp3tag.de/uploads/default/original/1X/cb01eca72fe9339ff6f3ec9f1e3c5fe002be0f0a.gif ":w00t:") ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:")

---

<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: [March 3, 2010, 3:28pm UTC](https://community.mp3tag.de/t/tags-from-file-path/10024/2 "2010-03-03T15:28:49Z")

</div>

For starters:  
[/t/8016/1](https://community.mp3tag.de/t/8016/1)

---

<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:22pm UTC](https://community.mp3tag.de/t/tags-from-file-path/10024/4 "2026-02-09T12:22:13Z")

</div>


