For Each diInventory as DirectoryInfo in diRoot.GetDirectories() 'diRoot is a directory containing 400K files, e.g.
takes an excessively long amount of time - this is just the enumeration of the directories obviously, so by the time file copies are done for each, we're talking about an unacceptable amount of time that this application will have to run. Any tips on this or in general about this sort of application? Is there a more efficient way of enumerating directories or files within directories? I've noticed that Windows 7 cannot handle opening one of these directories with hundreds of thousands of files - Windows itself locks up. Thanks!

New Topic/Question
Reply




MultiQuote




|