Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dir command
Message
From
12/03/2002 09:54:23
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
12/03/2002 06:39:48
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00631363
Message ID:
00631484
Views:
27
>>>
>>>* 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)
Previous
Reply
Map
View

Click here to load this message in the networking platform