>Hi, Naomi!
>Do You try to use Filer?
>
>
>oMyFiler = CREATEOBJECT('Filer.FileUtil')
>oMyFiler.SearchPath = "C:\0_vfp9edited\html"
>oMyFiler.FileExpression = '*c-*.htm'
>oMyFiler.Find(0)
>? oMyFiler.Files.Count
>
>It shown 5 files and it is a true.
I forgot about it completely. It doesn't suffer from the limit, right? Would it work for all VFP versions?
For now, I added some error trapping and restrictions, so hopefully it would work every time.
But now I have to handle extra cases, which I was not aware before...
If it's not broken, fix it until it is.
My Blog