How to count file in folder?

Hi, all… newbie here… i want to count the file in the folder that i already put in the config file (using RE Framework). I want to empty the folder before execute the transaction. so i need to count the file in the folder and using do while activity to move file. i try usi this syntax but appear error warning.

Hi @randa_prakasa

Try this

Directory.Getfiles(in_Config("Sharing_file").ToString).Count

Regards,

Thank you so much bro… its worked

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.