Loop file with today DateTime in folder

Hi Everyone.

I have many files in one folder with format “Today-xxxx.xls”

I want to loop file in Today only… but it might has problem in attached file.

I have defind “*” for “xxxxxx” string in filename but not correct

What is this issue?

Thanks in advance!

1

Loop them using for each(Directory.GetFile(“PathOfFolder”) and add one if condition block for
IF
Item.toString.Contains(TodayDate) and Item.toString.Contains(“.xls”)

1 Like

Thanks Bro.

Most Welcome :blush: