Glenn wrote:
>Here's how to add it into Arachne so that we can view RTFs without exiting.
(snip)
Good work Glenn - but some changes/additions are good to have...
Change these in mime.cfg
text/enriched >HTM|@call $ertf2htm.bat $1 $2
text/richtext >HTM|@call $ertf2htm.bat $1 $2
application/rtf >HTM|@call $ertf2htm.bat $1 $2
file/.rtf >HTM|@call $ertf2htm.bat $1 $2
---rtf2htm.bat (place in your arachne_main directory)---
copy %1 temprtf.rtf
martha.com temprtf.rtf
copy temprtf.htm %2htm
rem Don't put a ^^^^ '.' between '%2' and 'htm' in the above line.
del temprtf.*
del trace.doc
BTW: Remember to rename martha17.com (the latest version as of now) to
martha.com
This will use your temp directory for storing the temp files (someone told
me using a program directory (c:\dos) for temporary files weren't good
recently <g>):
copy %1 %temp%\temprtf.rtf
martha.com %temp%\temprtf.rtf
copy %temp%\temprtf.htm %2htm
rem Don't put a ^^^^ '.' between '%2' and 'htm' in the above line.
del %temp%\temprtf.*
del %temp%\trace.doc