Get files in folder inside folder

Hi,

I have a folder and want to get files. Directory.GetFiles do it but sometimes this folder include another folder(or folders) and I have to get files in this folder(or folders) too. And 2. folder can include 3. folder. ofcourse I have to get files in 3. folder too.

@murat.karasoy

Check below post for your reference

Hope this will help you

Thanks

we can retrieve files from folders and subfolders e.g. by:

Directory.GetFiles(MyDirPathVar,"*.*",SearchOption.AllDirectories)

taken from:

2 Likes

@murat.karasoy

Also check below for your reference

Hope this will help you

Thanks

Hi

Use a simple assign activity like this

Where arr_files is a variable of type array of files

Cheers @murat.karasoy

thanks

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.