Disc number from folder name

Hi, I’m after some help. I’m trying to set the disc number of multiple MP3’s, based on the folder name.
There are 115 folders with multiple files in each. I want each file to have a ??/115 set depending on the folder it is in. All folders are named with just a number.
There are over 2500 files.

Any suggestions?

See the FAQs

OK, thanks. I think I've figured that out to give me the disc number, however, how do I add the total number of discs to the %Discnumber% tag?

See the FAQs.