I need to move a file from download folder to destination folder , on which the dowloaded file & file name consists of yesterdays date and some name i.e (22.06.22 Outstanding File), rest of file name will be changing,how to achieve this through uipath
Welcome to community. You can use the format below.
First, give the folder where your file is located, then specify the fields that do not change. Assign changing fields as wildcards.
Directory.GetFiles("folder path",now.AddDays(-1).ToString("dd.MM.yy")+"*")(0)
Regards,
MY
Hello @Ramu_Neelakantam
First of all is it allowing “.” in the date?? Not sure whether filename will accept it
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.