#1
Look at
writeToRTFFile
Writes a memo to an RTF file.
Syntax
writeToRTFFile ( const fileName String ) Logical
writeToRTFFile writes a memo to an RTF disk file specified in fileName. This method writes text including the formatting of formatted memos.
Maybe you can take it from there ?
#2
axdist.exe is a Microsoft based installer / setup utility
It comes on most of the Paradox CDs, used for Paradox Runtime, I think.
If you are copying from a legitimate Paradox CD, it is likely OK to use.
Some malware scanners flag these types of things because of the legacy methods they use.