How to get all file paths in the folder.
(I don’t know how many layer/folders in the folder)
Is there an activity to get all of these file path？
Return the file path with a array
@jmy Check below statement once, it will gives output as file paths as array.
Directory.GetFiles(“Your main directory path”,"*",searchOption.AllDirectories)
The above solution absolutely works, just to add to the above.
If you want to get only xlsx files or specific file type
Directory.GetFiles(“Path of the Directory”,"*.xlsx",SearchOption.AllDirectories)
Refer the below post for more reference.
Thank you very much!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.