Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADIR optimization
Message
De
13/08/2001 11:49:05
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
13/08/2001 11:34:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00542818
Message ID:
00543063
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'))
How about using redirection? This is supported by many DOS commands.

Change the first line to:
dir \g5\imsdev\data\*.jpg > textdir.txt
This will still briefly show the command window. I think some of the files in the download section solve this.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform