My docs open in the wrong program! Re-registering Word using the commandline.
This page last revised: 07 Jan 2020 09:24:56 -0500 .
My documents open in WordPad, the wrong version of Word, Powerpoint, etc.
My Word documents look like Excel spreadsheets, WordPad, etc.
I installed a new version of Word but my documents keep opening in the wrong version or have started opening in the wrong version.
Windows keeps track of which program works with which kind of file using the filename extensions. In the case of Word, those extensions are .doc, .dot, .docx, .docm, dotx, and .dotm. When you double-click on a file with one of these extensions, it is supposed to open in Word. If it doesn't, something has happened to the Windows Registry for that extension. There are a number of ways of fixing that. This page is about the most straight-forward. That is called Re-registering Word.
Re-reregistering Word can be done simply on the Windows command line. In Windows 7 and later, press the Windows key+R or you can type the command into the Start Menu search box. I would type the word "run" in that box and select the App. It will give you a dialog like the one below. In earlier versions of Windows, pick the Run command from the start menu.
When you get to the dialog allowing you to type a command, you need to type the command to re-register Word.
In many instances, the following, without quotation marks, but with the space before the "/r," will work:
If that does not work, you may have to point Windows to the right place. That requires a longer command where you will need the quotation marks. Likely variations are:
If you are using a 64-bit version of Office for some reason, you would use “Program Files” instead of “Program Files (x86).”
If that doesn't work, try running a Repair on your office installation.
Repair or remove Office 2010 - http://office.microsoft.com/en-us/excel-help/repair-or-remove-office-2010-HA010357402.aspx?CTT=1
The up-to-date version of this FAQ may be found at:
Download this FAQ in Word 97 format
Changes / suggestions / ideas can be sent to Charles Kenyon.
views since 13 April 2004
Many people visit this site and use the information it
Copyright 2000-2020 Charles Kyle Kenyon
FAQ provided as an adjunct / hobby as a part of my web site as a
criminal defense lawyer.