How to check if there are any files in a folder uipath

Hi,

Can you try the following?

Directory.GetFiles("C:\Users\login\Desktop\Folder\Folder\Folder", "*", SearchOption.AllDirectories).Count > 0

Regards,

2 Likes