Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADIR, SYS(2000) and Filer all returned wrong results
Message
 
 
To
01/12/2006 13:51:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01173982
Message ID:
01174203
Views:
9
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform