Hi everyone,
I want to get path file when I just download. (file nearest)
Thank,
Henry!
Hi everyone,
I want to get path file when I just download. (file nearest)
Thank,
Henry!
FilePath=Directory.GetFiles(FolderPath,“*.xlsx”,SearchOption.AllDirectories).OrderByDescending(Function(d) New FileInfo(d).CreationTime).Tolist(0)
This will get the latest file in a specified folderPath
Thank jothyprasanth.m!