"Rory Browne" <rory.browne at gmail.com> wrote:
> I could be wrong on this, but I believe that MSWord only decides what
> format the document is in after it is open.
Maybe, but probably irrelevant. A program typically registers the file
extensions that it wants associated with itself with Windows as part of
its installation. Word typically registers .doc and .rtf. After that,
if a user launches a file with one of those extensions (e.g. by double-
clicking it in explorer or launching it from their email client),
Windows runs Word and passes the filename as a command-line argument.
While Word can import a .html, by default Windows has IE associated with
Unless you are prepared to change the file associations on all your
Windows PCs, .rtf is more suitable than .html. Word treats .rtf as a
"native" format, just the same as it considers .doc as "native", unlike .
html, which it treats more like an import/export format.
> I think that if you took a document in any of MSWords supported
> formats(eg rtf, html etc), and renamed it to .doc, and opened it word
> would detect after it was open, that it was a html document and parse
> it as such.
> I assume that it would save it back as a proper word
No. If it opens an .rtf, and you edit it, then save it, it is saved as
an rtf, same for .html, you have to use Save As to change it to a .doc.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!