Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADIR, SYS(2000) and Filer all returned wrong results
Message
 
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:
01189181
Views:
22
>>>BTW, There IS a reason to explain why. It's either problem with our Server and FAT system, or a bug in ADIR/SYS(2000)/Filer functionality. It would be nice if someone can run similar tests for directories with huge number of files (say, Internet temp directory).
>>
>>The code I posted proves that what you see is the behavior of adir/sys(2000). If the mask is "*E*.JPG" it will find files where E is anywhere. It does not limit it to .JPG.
>>
>>It is not a problem with the FAT since I got the same behavior as you with only 39 files. It looks like a bug to me or my expecation (and yours) is not what adir/sys(2000) is doing.
>
>I wish someone from MS would clarify about masks, which we can use, and how these functions are working with such masks. Because right now I'm quite confused and not sure, what would be a good solution.
>
>AFAIK we should seriously consider an idea of having a table with the files and a Directory monitor. I know I can write Directory monitor with VFP9, but I don't have this version available here.

I've just found an interesting message, that may have solved the monitoring problem for me in VFP8 as well (not that I need this at the moment)

Re: Detecting files in a folder Thread #809703 Message #809774
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform