Folder Structure from dynamo

Hi everybody,
I need to get the folder structure from given path? The result should be a list with sublist of folders, without files.
Are there any node to do that? similar to file path or directory path?

Thanks a lot!

Hi,

Have you tried String.Split ? I think a file path is understood by Dynamo as a string.

Edit : looks like I misunderstood the question.

Capture

2 Likes

You could also play with using “Directory.ContentsAll” from Orchid :slight_smile: Displaying all files in a directory…

( “*” means search for all) :slight_smile:

image

2 Likes

Thanks Jonathan, thats what I need

Jonathan, I need the sublist of folder too, in the next post is the solution! Thanks.