DOC

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Other links)
(Sample files)
Line 27: Line 27:
 
* [http://www.dan.info/sampledata/msword/testing.doc Windows Word 2007, saving in Word 2003 format]
 
* [http://www.dan.info/sampledata/msword/testing.doc Windows Word 2007, saving in Word 2003 format]
 
* [https://groups.google.com/forum/#!msg/droid-list/v4CHVddELaM/uaPukLXBGD0J Sample DOC and DOT (template) files from Word 97-2003, with discussion on distinguishing them]
 
* [https://groups.google.com/forum/#!msg/droid-list/v4CHVddELaM/uaPukLXBGD0J Sample DOC and DOT (template) files from Word 97-2003, with discussion on distinguishing them]
 +
* [https://web.archive.org/web/20020313074855/http://ftp.sunet.se/pub/Internet-documents/isoc/charts/presentations/ Directory contains 2 Word 6.0 documents]
  
 
== Opening Word for DOS files in a modern Microsoft Word ==
 
== Opening Word for DOS files in a modern Microsoft Word ==

Revision as of 14:50, 30 April 2015

File Format
Name DOC
Ontology
Extension(s) .doc
MIME Type(s) application/msword, application/vnd.ms-word, others have been used

MS Word Doc format is a family of formats used by older versions of MS Word (they now use DOCX as a default as of Office 2007).

Contents

File Types

Wikipedia says the following four types exist

  • Word for DOS
  • Word 1 & Word 2 for MS Windows, and Word 4 & 5 for Mac
  • Word 6 & Word 95 for MS Windows, and Word 6 for Mac
  • Word 97, 2000, 2002, 2003, 2007 & 2010 for MS Windows, and Word 98, 2001, X, & 2004 for Mac

There is also the closely-related DOT format used for Word templates.

What's up, DOC?

But just because the file you stumbled onto has a DOC extension doesn't mean it is necessarily actually an MS Word file, though if it's not that old it probably is. Older files, like from the 1980s or 1990s, might be something else entirely. Several other word processors in that era used .DOC file extensions, even though their format was nothing like MS Word's. Also, it was fairly common for people to save plain text files with that extension when they were DOCumenting something, like the instructions for a program that was packed up in an ARC or ZIP file for download on a bulletin board system (BBS). But you might still try opening them with Word (as will normally happen in Windows if you have Word installed and double-click on a DOC file), since it will open plain-text files all right (even ancient ones).

Sample files

Opening Word for DOS files in a modern Microsoft Word

Word for DOS files can't be opened natively with the current versions of Microsoft Word anymore. However it is possible to import such old Word files with an additional converter for Word.

  1. Download the file ftp://ftp.microsoft.com/Softlib/MSLFILES/WDSUPCNV.EXE, open it (it is a self extracting zip file) and select a directory to save the files.
  2. Copy all the resulting *.cnv files (but most importantly Doswrd32.cnv) to C:\Program Files (x86)\Common Files\microsoft shared\TextConv (For users with a 32-bit Windows it is just C:\Program Files\Common Files\microsoft shared\TextConv)
  3. (Re)Start Microsoft Word
  4. Open the old Word file via the Open-dialog within Word.
  5. Word will show a prompt informing you that a text converter has to be started and that this might impose a security risk which you should only do if you trust the source where you got the files from. Press OK (if you trust the source of the files).
  6. Word will most likely show a prompt like "Style Sheet D:/STANDARD.DFV not found". Press Ok. Now a file selector dialog will open asking you to select a style sheet (*.sty) file. If you do have a style sheet for the file then select this. Otherwise create a new empty file in the regular Windows Explorer, rename it "empty.sty" and select it in the file selector. Selecting such an empty file could cause opened file to lose some general properties like print margins etc.
  7. Now you should be able to see the Word for DOS file within the modern Microsoft Word.

Opening earlier Word for Windows files in a modern Microsoft Word

While various Word for Windows formats are still supported (unlike the DOS ones noted above), some of them are now disabled by default for security reasons, as Microsoft thinks that their own legacy code to open them is vulnerable to risks. Thus, in order to open such files, you may need to make registry changes, documented in a help page linked below.

Official specs

Other format descriptions

Software and Program Code

Commentary

Other links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox