oRich = CreateObject("RICHTEXT.RichtextCtrl.1") oRich.TextRTF = YourRTFFormattedText ? oRich.Text && see it as plain text ? oRich.TextRTF && see it as RTF textYou can put that code in a scan loop. If you have files on disk use ADIR() to give you an array of filenames to iterate over. You can use filetostr() to get the file content.