Rename folder to a file in it with specific extension

Advanced Renamer forum
#1 : 23/02-20 21:40
pete
Posts: 1
So I have a bunch of folder named with random numbers.
Would it be possible to extract a name of a file in that folder and rename it after the filename?
#2 : 25/02-20 18:22
Jorge Ducharme
Posts: 9
Reply to #1:

is there anything specific about the filename you want to use?
you could create a list of the filenames you want to use.
then use LIST batch method to apply the rename to the folders in question.