My directory structure is like below.
Parent directory ---Sub directory 1 ---Sub directory 2 ------Sub directory2a ------Sub directory2b ---Sub directory 3
just use something like this:
Dim result = System.IO.Directory.EnumerateDirectories(path, "*", System.IO.SearchOption.AllDirectories)
the trick is the SearchOption.AllDirectories
SearchOption.AllDirectories
BTW: you can do the same with your GetFileSystemEntries-Method