Use PSPad scripting. There is ready to use script what I made for SQL in list
command

List conversion / List of items

-- 
<https://forum.pspad.com/read.php?2,70800,70801>
PSPad freeware editor https://www.pspad.com

Odpovedet emailem