I have a small problem, i finally got the search routine for a specific file worked out, but it is ooooooooooooooold dog slow. i was wondering if there is a way to index all files of a certain type prior to the main program running so that all file locations are known and can be gotten to through a binary search??? would i just load the directory locations of all files into a array, sort and then search?? if i can do this it would be much quicker than what i have currently, which works but will put you to sleep.

o yea, running NT4.0 with NTFS on the volume in question.