Wildcard file path

@damonyl

We can’t use wildcards in reading file.

Try this way.

    strExcelFiles [] = Directory.GetFiles("C:\Users\user\Documents\testenviroment\","test*.xlsx")

The above expression will read all matching files and will give output as string array. Then use For Each loop activity to read one by one file.

10 Likes