Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dir command
Message
De
12/03/2002 06:29:31
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
12/03/2002 03:57:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00631363
Message ID:
00631389
Vues:
24
>>>how can I use the dir command avoiding the listing on the screen ?
>>>I have to save the dir output in a file so I use the dir command like this :
>>>Dir mypath To File filename
>>>but what i don't want to is to see the output even on the screen as i have to press a key to go on when the number of records exceed the screen place.
>>>I hope to have been clear enough
>>>Thank u all
>>
>>Alessio,
>>use ADIR(), copy the elements to the file.
>>
>>Agnes
>
>I cannot use the adir command as i get an out of memory error because the directory cotains more than 12000 files...
>thank u gary i remember there was a set instruction to use but i thought it was
>the set device

How about:
* Assuming a jpg extension
run dir *.jpg > filelist.txt
modify command filelist.txt
The > sign redirects the output of the DOS command, to the specified file instead of the screen.

HTH, 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