I need to separate the CSV files from one folder to another folder. Files are having different time stamp . I need current date or newest one . How to do that please guide me
Hi,
How about the following?
New DirectoryInfo(yourPath).GetFiles("*.csv").OrderBy(Function(di) di.LastWriteTime).Last().FullName
Sample20230222-1aL.zip (2.9 KB)
Regards,
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.