I recently learned about the basic structure of the .docx file (it's a specially structured zip archive). However, docx is not formated like a doc.
How does a doc file work? What is the file format, structure, etc?
The full format for binary .doc files is documented in this pdf from (the Wikipedia article on .doc)