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:55:55
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
01/12/2006 11:02:34
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
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:
01174243
Views:
10
This message has been marked as a message which has helped to the initial question of the thread.
>Ins't *e4*.jpg mean all files with .jpg extension?

So it would be, but M$ seems to have fixed that somewhere between DOS 2.0 and XP. It does return what you'd expect today (XP SP1). Works with aDir() too - except in situations like what Bruce described. I don't get 8.3 names, so I didn't have that problem.

I tried the adir(a, "*.jpg") with appending into cursor and then selecting where fname like "%71%" and it did return exactly the same number of files as dir *71*.jpg did - which is amazing. I didn't expect that to be fixed EVER :). Probably came with NTFS, but nobody bothered to advertise this scientific breakthrough.

I figure when Nad.. Naomi comes back to the digital world on Monday, she only needs to disable short names on that disk and use any of the dozen solutions we posted here :).

back to same old

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

Click here to load this message in the networking platform