Get Latest Downloaded File

Hi Guys,

Can anyone help me for below expression and why UiPath is giving weird error?
I don’t think I am doing anything wrong, Because same expression used to work for me earlier.

Directory.GetFiles("C:\Users\Shreyash\Downloads",“*.txt”).OrderByDescending(Function(d) New FileInfo(d).CreationTime).Tolist(0)

Error Screenshot:

Never mind, Got it!

Error is for double quotes format.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.