How to read all the Csv file from particular folder

I want to read all the csv from a particular folder. Please help me…

Hi @AK_Senthil,

you can use this
“Directory.GetFiles(”Path of the folder,“ Nameof the file.csv”,SearchOption.Alldirectories)"

As Srishsai mentioned, you can use Directory.GetFiles(“Path of Folder”) and use for each to loop through the files and use read text file activity.

Attached is the screenshot for reference.


Hi @AK_Senthil,

try this for only csv files from a specific folder
Assign string filelist=directory.GetFiles(“folder path”,"*.csv")`

i hope this helps better to your requirement