I have the folder were it has three to four excel file with same name format along with date .i want only previous day excel file to move to another folder.
For example files in folder as Increment file 2020-06-03
Increment file 2020-06-02
Increment file 2020-06-01
All this files are in excel format.
in above scenario i what only Increment file 2020-06-02 and this file has to move to another folder.some time folder contain only one file which is yesterday file.
please guide how to do this.
files = Directory.GetFiles(“" & yesterday & "”)
In first * i have to replace with Folder path right,
and in last * do i want to mention Increment file?
Sorry for this, actually i cross check with the input … i didnt find the yesterday file in that path. so i added now, am getting the excepted result .
But i have one doubt i display in the message it display the output along with path .
Now do i need to use move file activity