How to count the files that moved in specific folder and those files that are not

My activity in UIPath is only MOVE FILE.

I want to count the files from the Source(Column B) that was moved in the Destination and I also want to count the files that wasn’t able to move in the Destination.

And put it in the body of the Outlook email

Hi,

You can use Directory.GetFiles(“FolderPath”).Count, it gives you the total number of files on the specific folder