>In addition to what others told, you can use this:
>
>oFSO = CREATEOBJECT("Scripting.FileSystemObject")
>ofso1=oFSO.GetFolder(yourfolder)
>
>FOR EACH oitem IN oFSO1.Files
>? oItem.NAme
>* do other what you need here
>endfor....
>
>
Just thought I'd point out the WSH is way, way slower here than using SYS(2000) or going right to the API. Last time I tested, it was 20 to 30 times slower with the WSH.
Tamar