hello
i have a folder that contains sub folders and sub folder may contain folders or files.
i want to read every file from each folder.
i want this to be dynamic as there can be many sub folder within a folder.
1 Like
Hi
Use a assign activity with this expression
arrFiles = Directory.GetFiles(“yourfolderpath”,“.”,SearchOption.AllDirectories)
Where arrFiles is a variable of type array of string
Now pass this as input to For each activity and change the type argument as string in the property panel
Cheers @ahmaddaniyal
Try this:
getFiles [] = Directory.GetFiles(“Parent folderpath”,"*.*",SearchOption.AllDirectories)
thanks dude you are genius
second time you have helped.
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.