Recursive search

Hi,

I'm iterating through a csproj file, and for each result (file name) I would like to search and find this file and do the same iteration on it....and so on till the iteration returns no results.

example:

Iteration through a.csproj --> found file names b.csproj and c.csproj --> find b.csproj and c.csproj (in local drive) --> iterate through b.csproj and c.csproj --> found file names d.csproj and e.csproj (in b.csproj) and f.csproj and (in c.csproj) --> find d.csproj, e.csproj and f.csproj (in local drive) --> iterate through d.csproj, e.csproj and f.csproj --> etc' etc' --> iterate through x.csproj, y.csproj and z.csproj --> no csproj file names found --> continue action list flow.

Cheers,

Ranch.

Hi Ranch

I have attached a small project that demonstrates the sort of logic that you will need, it is only a rough example that will hopefully point you in the right direction. You will need to change yours to do exactly what you want.

For example if you can only obtain the file name (without the path) from the current file then you may need to use the Find File(s) action to get the entire file path.

Hope this helps.

Regards,
Steve

RecursiveSearch.zip (5.161 KB)