How to use filter property in selectfile activity

By default we are able to select any file from the selected drive because it uses " All files (.)|. "
Consider a scenario that I want to choose only .csv files then what should be the filter command Is it like this " .CSV|.csv " ?

1 Like

create string variable ->folderlocation
using assign activity
create string array variable ->allcsvfile
using Assign Activity
allcsvfile=Directory.GetFiles(folderlocation, “*.csv”)

Hi @sathishkumar191991,

In Select File activity.

Yes you can give in using Filter option to get specific file format alone.
In Properties->All files (*.csv)|*.csv


1 Like