Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADIR optimization
Message
De
13/08/2001 11:34:42
 
 
À
12/08/2001 23:11:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00542818
Message ID:
00543056
Vues:
20
>Both returns result in a flash. After second verification, for that one, I only need count from the directory and not on a scope. So, as long as I only need the count without the scope, I'll use the FileSystemObject. If I ever need a scope, I'll switch to Larry's suggestion.

Its a shame that NOCONSOLE doesn't work on DISPLAY FILES for DIR (even though the Intellisense window says they do, otherwise, you coudl try something like:
DIR \g5\imsdev\data\*.JPG TO FILE textdir.txt
?OCCURS('.JPG', FILETOSTR('textdir.txt'))
and see how that compares. It would also be nifty if those procedures could go to a variable, but I doubt it would be used enough to make a difference.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform