Tagging genre from file location?

Hello everyone,

I'm pretty new to mp3tag and especially to the auto tag function.
I just wanna do one thing, is it possible to automatically tag my files genre from their path/location files. For instance, I'd like that all the files in my 'Disco' folder are genre-tagged with the same name.
Thanks in advance!

If you have all your files in a specific genre folder, then
use Convert>Filename-Tag
Format string: %genre%\%dummy%

Alternatively, drag&drop the Disco folder into MP3tag, select all files and then enter the desired genre in the Tag Panel and press Ctrl-S to save.

Use Convert->Tag-Tag:
Field: GENRE
Format String: %_directory%