note - folder name-C will be there or not dont know
Can you please tell your exact requirement?
To find the latest folder in the path
Hi @Sree_Krishnan_vellinezhi ,
Please try below one which will give the latest folder full path:
Directory.GetDirectories(“YourFolderPath”).OrderByDescending(Function(d) New FileInfo(d).CreationTime).Tolist(0)
Regards,
Rajeswari
1 Like