i'm trying to build a desktop search engine using java. i would like to know if there is any way by which i can determine the total number of files in the hard disk. our algorithm doesnt do any indexing as such. each time a search string is entered, the searching of the hard disk is done.
to enable the progress bar, we need to specify the maximum value. to specify this maximum value, i need to determine the total number of files in the hard disk.
hoping to get an early reply.