>Hugo,
>
>I still don't need to use FileSystemObject, since I can use sys(2000) without my mask. It seems to work correctly for extension only (no mask). I can use FileSystemObject to create a list of all files at night, where the speed is irrelevant.
>
>>Hi Naomi,
>>
>>>FileSystemObject doesn't work with masks. Which means, I would have to scan the whole directory until I find my file. So, it would be slower comparing with other methods.
>>
>>
>>Of course I understand that, didn't I do that in my example code? My point is that speed comparisons should be done against working code, and you were saying that ADIR and SYS(2000) did not work in your case, making speed comparisons irrelevant, like comparing a Jaguar that refuses to start against an old reliable Citroen 3CV running at an incredible speed of 20Km/h, which one will take you faster to your job?
Did you try to use Google Desktop search API?
I never used it so I can't be in help, but maybe you could try and tell us if it is a good utility.
http://desktop.google.com/developer.html
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.