hi,
- how to get count of files which are downloaded today in a folder
- how to write this - Files_count is not equal to 10 in “if” avtivity.
hi,
Hi @Hemant_Deshmukh ,
Use this in assign activity.
filenameArray = Directory.GetFiles("YourFolderName").Where(Function(x) New FileInfo(x).LastWriteTime.Date = Now.Date).ToArray


Thanks,
Ashok ![]()
its working–Directory.GetFiles( InputPath).Where(Function(x) New FileInfo(x).LastWriteTime.Date = Now.Date).Count
thank you
Hi @Hemant_Deshmukh ,
You can even use this to get the file count
Directory.GetFiles(“path_to_folder”).Count(Function(file) File.GetLastWriteTime(file).Date = Today.Date)
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.