I have hundreds of folder paths on network; what i have to do that calculate these folder size and make the report. Note that these folders may contains millions of subfolders and files.
I have created work flow for this and used ‘BalaReva.DirFileSize.DirectorySize’ this custom activity which gives the folder size.
However it throws below exception for few cases;
“The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.”
I could not change the folder path and folder name; so we have to deal with it.
Is there any other method/activity which calculates foldersize efficiently?
or is there any other way that i can handle this situation.