There is nice function in .NET Directory.GetFiles, it\'s simple to use it when I need to get all files from directory.
Directory.GetFiles(\"c:\\\\Files\") <
You should be able to get through this:
var loc = new DirectoryInfo("C:\\"); var fileList = loc.GetFiles().Where(x => x.CreationTime.ToString("dd/MM/yyyy") == currentDate); foreach (FileInfo fileItem in fileList) { //Process the file }