I’m facing an issue with move file activity. I gave the folder path as mentioned below.
From- Directory.GetFiles(“C:\Users\ADMIN\Downloads”,“*.xls”).OrderByDescending(Function(d) New FileInfo(d).CreationTime).ToList(0).ToString
First move the file in to a folder by using move file activity.
In the To field in move file activity give the folder path not file path.
After that use the Rename file activity to rename the file.
In the from give the \ symbol after the downloads, download is also a folder we have to give .
Directory.GetFiles(“C:\Users\ADMIN\Downloads\”,“*.xls”).OrderByDescending(Function(d) New FileInfo(d).CreationTime).ToList(0).ToString