Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADIR, SYS(2000) and Filer all returned wrong results
Message
From
01/12/2006 14:42:07
 
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:
01174233
Views:
11
>>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.

Well, I don't have a directory with that many files (why do you????), but I just ran it again on a directory with over 600 files using the UNC to the network in our Edmonton office and again, I get the correct number of files in both cases - still using VFP9 SP1 and Win2K.

I suspect it might be a WinXP issue.
Previous
Reply
Map
View

Click here to load this message in the networking platform