View Single Post
 
Old 09-21-2014, 03:01 PM
hDC_0 hDC_0 is offline
Contributor

* Expert *
 
Join Date: Feb 2004
Posts: 560
Default HD searching..

Quote:
Originally Posted by dmratcliffe
Is there a way to implement the second part into the first? Check it before adding it to the array?
Did you possibly mean (hint) "Check it while adding it to the array"?
..and yes, I definitely commend you for learning about working with arrays;
however another topic to explore might be that of recursion.
It is a very powerful programming technique designed to do a lot of work while only using a few lines of code.

I did an advanced search of XVBT's VB.Net File I/O sub forum, using the terms "recursion" and "recursive"
--it found dozens of threads, including a few that use background threading (1, 2),
which allows stopping the search if it starts to run too long on full 8/10 terabyte hard drives.
Reply With Quote