Home All Groups Group Topic Archive Search About
Author
21 Mar 2006 10:16 AM
Prince
Hi, I am having 120GB hardisk (14 Drives) in my PC with 1GB RAM, I used
recurssion method to search the files in all the drives which takes
nearly 15-20 minutes!! I use..
CreateObject("Scripting.FileSystemObject") and I compiled with fast
code, Please let me know if there is any other faster methods to do the
system search.
Thank you

Author
21 Mar 2006 10:52 AM
Ralph
"Prince" <prince161***@gmail.com> wrote in message
news:1142936211.051262.232760@i39g2000cwa.googlegroups.com...
> Hi, I am having 120GB hardisk (14 Drives) in my PC with 1GB RAM, I used
> recurssion method to search the files in all the drives which takes
> nearly 15-20 minutes!! I use..
> CreateObject("Scripting.FileSystemObject") and I compiled with fast
> code, Please let me know if there is any other faster methods to do the
> system search.
> Thank you
>

Hey. An easy one. Drop the FSO and never, never go there again.

Use 'native' VB file handling routines instead. As for examples and urls,
just goggle this newsgroup, as the subject comes up at least twice a month.

-ralph
Author
21 Mar 2006 11:41 AM
Howard Kaikow
Use the FindFirstFile and FindNextFile APIs.
--
http://www.standards.com/; See Howard Kaikow's web site.