Calculating total files from a folder?

Guys , I have used assign activity and created a variable and used directory.getfiles.count(sp) to count the files from a folder .
“sp” is another variable i have created to mention the source path .
mentioned both variables as a array of strings .
I’m getting an error in assign activity , attached the image for your reference . kindly help . Thanks in advance…


Directory.GetFiles(“yourFilePath”, “*”)
then folder variables will be initialized and print as folder.count or length

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