DOC

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Add info from LoC document)
m
Line 25: Line 25:
 
== What's up, DOC? ==
 
== 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).
+
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 (compression format)|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 ==
 
== Sample files ==

Revision as of 17:23, 16 February 2020

File Format
Name DOC
Ontology
Extension(s) .doc
MIME Type(s) application/msword, application/vnd.ms-word, others have been used
LoCFDD fdd000509
PRONOM fmt/40
Wikidata ID Q686498, Q28858035

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.

Wordpad, the program that comes with current versions of Windows, saves in Word 6 format.

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