Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dir command
Message
De
12/03/2002 09:54:23
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
12/03/2002 06:39:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00631363
Message ID:
00631484
Vues:
28
>>>
>>>* Assuming a jpg extension
>>>run dir *.jpg > filelist.txt
>>>modify command filelist.txt
>>>
>>
>>Oh, I forgot, this will lose long file names, so it may, or may not, be adequate for you, depending on your needs. However, you can also access every file with the short file name.
>>
>>Hilmar.
>
>it works fine as i have long names at the end of the record

Oh, sorry, I forgot about that.

DIR supports different options; you can even include all subdirectories! To get the syntax, type the following in a DOS window:
dir /? | more
I assume you know how to parse (extract results from) the string you get with the DIR command.

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
Répondre
Fil
Voir

Click here to load this message in the networking platform