How to list only a few files with Directory_ListFiles


My directory has multiple files and I need to list only a few files, for example by filter. How do I do?

I'm using "Directory_ListFiles", and I tried to do for example like this: "_0%.24"

Hi Diogo, 

I dont know if there is a way to filter the list of files by expressions like that, but it would be great when the ListFiles returned is too long (I believe this is the reason you are filtering it).

A workaround to achieve what you want is to place a foreach to iterate the ListFiles from "Directory_ListFiles" and Add each item to a second List only if it satisfy a condition (filter) or create/improve an extension for that (you can start from this NetworkFileSystem).

Thank you André. I'll folow your sugestion.