How to get latest zip file out of many from same folder
Hi @Arjun1
Try this
You can use the zip file with the expression
CurrentFile.ToString
Regards
Sudharsan
1 Like
Hello @Arjun1
You can do as below.
Directory.GetFiles(yourfolder_path,“*.zip”).OrderByDescending(Function(d) New FileInfo(d).CreationTime).Tolist(0)
yourfolder_path is the path of the folder.
Thanks
1 Like
HI @Arjun1
If you got your solution kindly close the topic by marking the solution.
Regards
Sudharsan
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.