>>Anyway, looks like I have to use a different approach. I don't really want to use FileScriptingObject because it could be slower and I'm not sure it allows to specify a mask.
>>
>>Do you or somebody have a suggestion for me?
>
>Couldn't you use sys(2000)? It allows mask...
I've tried ?sys(2000,"t:\jpg\*g*.*") and it returned 654.jpg, which is wrong.
If it's not broken, fix it until it is.
My Blog