Folder / file names to dropdown

trying to figure out how to populate a dropdown with folder names. I have a folder that contains 30 folders each of which is named to a part number. I would like to create a dropdown that allows me to select any of the 30 part numbers so I can set a tag to the selected part number. any ideas? thank you.