1) There are about 100,000 files in a directory, and I need to know the most efficient way to find a file in that directory.

2) Also, I'm trying to determine if directory A has over 100,000, then create directory B and put files in that directory, so that file search will not be slowed down. Then if directory B has over 100,000 files in it then create directory C, and on, and on.

Any good ideas/suggestions??

Thanks!

[email protected]