Get folder names in directory

In this case, I would suggest you to use the If activity instead of using Switch.

Main.xaml (11.7 KB)

image

Or you can filter the folders before getting the files just like that:
image

2 Likes