In some situations, the above will not fix the problem,
which is attributable to a registry entry
associated with the particular document type. Should that occur:
From the Windows Start Menu > Run command, type
Regedit to open the registry editor.
Let's consider the two most likely document types - Word
document (doc) and Word 2007 document (docx) and the relevant
registry entries which are:
Word 97-2003 doc format
HKEY_CLASSES_ROOT\Word.Document.8\shell\Open
Word
2007 docx format
HKEY_CLASSES_ROOT\Word.Document.12\shell\Open
In both cases the ddexec
sub key will have a value of
[REM _DDE_Direct][FileOpen("%1")]
and the command
sub key will have a value of
"C:\Program Files\Microsoft
Office\Office12\WINWORD.EXE" /n /dde %1
It is the %1 at the end of the command
sub key that is the
problem. Either edit the key to remove the 1% or surround it with quotes
thus
"C:\Program Files\Microsoft
Office\Office12\WINWORD.EXE" /n /dde
or
"C:\Program Files\Microsoft
Office\Office12\WINWORD.EXE" /n /dde "%1"
In the examples that follow, I have surrounded the %1
with quotes.
In the entries for both document types shown above
Office12
in the program path refers to Word 2007. If the default Word application
is 2003 change that to Office11.
When you access the registry key unless you have more than one version
of Word installed, vying for possession of these keys, the correct path
should already be present.