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 21:24:29
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
01/12/2006 21:14:52
Mike Yearwood
Toronto, Ontario, Canada
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:
01174355
Views:
14
>If you can prove that a single file does not work as you expect with ADIR or SYS(2000) then you know you cannot use those functions without modification no matter if there are 10 files or 100,000. That being the case, you must lower your speed expectations.
>
>C:\*Y*.* should not return "config.sys" right? Well it does.

It does not, on my machine...

>BTW, if all of the above is true, then Randall's tests were not irrelevant.

...because I probably don't have short filenames activated by default. I still do see them in software which needs them, but not elsewhere. So I think Randall should write an article on this, at least on Wiki. This "dir with wildcards may return unexpected results if it searches short names" is such a landmine, which is probably very hard to test, that it may just bite anyone at any old time. We actually need to know WHEN may dir command (and other API that it uses) switch to short names, under what circumstances, what settings (and WHERE!) etc etc.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform