Grab Folder Name for Genre when using tagging multiple folders

Hi
I wonder if someone can point me in the direction of what i need to do to accomplish the following

I have a folder called WEEK XX
in that folder there are subfolders
HOUSE
DEEP HOUSE
RNB
POP
DANCE

So i will select Week XX and right click mp3tag so it shows all the files in the subdirectories but not sure how to grab the sub folder name (only the last part ie. House, Deep House etc) to put in to the genre whilst batch tagging

Many thanks

Use the Convert-Menue and there "Tag - Tag".

Field: GENRE
Format String: %_directory%

Wow as simple as that, thought it would have put the rest of the directory in the genre.. that is fantastic thank you for the quick reply and working solution