Browse in folder

Hi,

I have a folder full of other folders. Now I need to retrieve the names of these folders so that I can search some content in. Is there a way to do this without gaving to create an xml file containing all the names of the sub folders? Like maybe a class or method?

thanks
sim085