Album name from folder Action

I thought I asked this here before, but can't seem to find it.

I am looking to create an action that will fill the ALBUM tag in with the folder name that the file resides in.

Can someone point me in the right direction please?

Thanks in advance

Use a 'Format value' action:

Action type: Format value
Field: ALBUM
Format string: %_directory%

Check out the Mp3tag Help. The 'Columns' page contains a list of available variables containing things like file names, folder names, extensions.

Do you need an action or would a converter be enough?

Then use the converter filename - tag and a mask like this:
The preview should reasure you that you get the right data.

That works! Thanks!