Is it possible to list all subfolder names in a search?

There seems to be all sorts of searches on files possible - is it possible to list out a folders subfolders ?