>>>
>>>* 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)