Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADIR, SYS(2000) and Filer all returned wrong results
Message
 
 
À
01/12/2006 13:51:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01173982
Message ID:
01174203
Vues:
10
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform