Number of files and folders
-
Does anybody know how to get the number of files and folders on a windows machine. Kelvin Chikomo -- modified at 6:47 Sunday 12th February, 2006
Recursive FindFirstFile/FindNextFile? If you need it programatically, that is. If you'd just like to know, you could go to the root of every partition using Explorer, select everything, and hit Properties. :) Oor! If you have cygwin installed, you could count the lines of a "find" started from the root. :P
-
Recursive FindFirstFile/FindNextFile? If you need it programatically, that is. If you'd just like to know, you could go to the root of every partition using Explorer, select everything, and hit Properties. :) Oor! If you have cygwin installed, you could count the lines of a "find" started from the root. :P
I need it programatically. I tried FindFirstFile/FindNextFile but recursion is a bit too slow and uses up too much resources. I thought there was a data structure for each partition that had all the partition information including number of files and folders. Kelvin Chikomo