>Perhaps it's a WinXP problem. I'm on Win2k with VFP9. If I run:
>
ADir(aFls, "c:\winnt\system32\*x*.dll"
>I get 174 files and they are correct (they all contain "x" and are all DLLs
>If I use:
>
Sys(2000, "c:\winnt\system32\*x*.dll") (and ',1' for next in a loop)
>I get 174 files and they are correct.
>
>If I change the "x" to "ax", I get 20 correct files in both cases.
Could be several reasons:
1) Our directory has more than 13K files
2) It's on terminal server
3) It looks like Shortnames are created (at least I got ~ when I ran DOS DIR command).
4) Using VFP8 Sp1.
If it's not broken, fix it until it is.
My Blog