Nadya,
Go ahead and FAQ it is you want. There's some discussion of it over on the Wiki too. There's no doubt that a
few calls to a builtin function is going to be
significantly faster than thousands of calls to a COM object.
>I've just ran tests on my local Windows 95 machine c drive:
>Results: 19866 files in 4 sec by adir and in 78 sec. by FSO. (time periods are the same in bunch of tests).
>Also I looked in MSDN online help on Scripting.FileSystemObject and I didn't find a way to specify file sceleton, like "*.scx" (we can do it in adir())
>
>I modified a little these programs (I'm going to implement it for searching specific string in specific Form's method Thread #
430305)
>
>BTW, I think both approaches should be placed in FAQ section here, because they are very important. What do you think?