|
I noticed one more problem in setformat, when you place the &#13&#10 inside the string specifier so that each entry is on a seperate line, the outputed file contains extra &#13 characters.
File: test.zip

Desc: test file

....
When you use WordPad to open the generated file, it displays the the lines as:
File: test.zip Desc: test file File: test2.zip Desc: test 2 file.......
Where notepad displays the file as:
File: test.zip Desc: test file
File: test2.zip Desc: test 2 file
If you open the resulting file in a hex editor you will see the extra &#13 character. It looks like this extra &#13 character is only outputed when &#10 is specified in the string specifier.
Changing the format of the string specifier to:
string="File: %f.zip
Desc: %d
"
Fixes the generated file to display correctly in WordPad.
File: test.zip
Desc: test file
....
Any ideas as to why using 
 adds this extra &#13 in the string specifier?
|