Counting number of files
-
Does anybody know how to count all the files on a windows environment. Currently i have a recursive method that goes through all the folders counting the number of files. It takes too long Any faster method would be appreciated Thank You Fate pays tax to know man
-
Does anybody know how to count all the files on a windows environment. Currently i have a recursive method that goes through all the folders counting the number of files. It takes too long Any faster method would be appreciated Thank You Fate pays tax to know man
theprinc wrote:
Currently i have a recursive method that goes through all the folders counting the number of files.
AFAIK this is the only way.
Nibu thomas Software Developer
-
Does anybody know how to count all the files on a windows environment. Currently i have a recursive method that goes through all the folders counting the number of files. It takes too long Any faster method would be appreciated Thank You Fate pays tax to know man
Something makes me think there is no faster way. I mean if there was one why would it take Explorer so long to count the number of files when you invoke Properties command for a particularly huge directory? Try optimizing your recursive function instead. After all, it gets called over and over again and if by chance it contains unoptimized code... well, it'll slow down for a reason.
-
Does anybody know how to count all the files on a windows environment. Currently i have a recursive method that goes through all the folders counting the number of files. It takes too long Any faster method would be appreciated Thank You Fate pays tax to know man
-
Does anybody know how to count all the files on a windows environment. Currently i have a recursive method that goes through all the folders counting the number of files. It takes too long Any faster method would be appreciated Thank You Fate pays tax to know man
theprinc wrote:
Currently i have a recursive method that goes through all the folders counting the number of files. It takes too long Any faster method would be appreciated
Show us the function and maybe we can make suggestions.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb