Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Get files count of files in each sub folder, name of sub folder in a directory.

$
0
0

I have a directory (network path) and it has around 3000 sub folders and each sub folder has 500+ files (some sub folders may have more than 2000 also). 

When i was trying to get files count, iteration taking too long to complete. I am not finding any alternative way to over come this. I would like to know is there any alternative way to do this and get files count quickly, any solution if you can share with me, it would be soo greatful.

Code i am writing in C#, window forms.

Thanks in advance.



Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>