Documents Opening in the Wrong Program

by Allen Wyatt
(last updated November 17, 2016)

2

Ron had a problem crop up with Word recently—when he double-clicks on a Word document, it now opens in Word Viewer, rather than opening in Word. He was wondering how to make the documents again open in Word, as he prefers.

Windows maintains a list of file associations that dictate which types of files are opened by which programs. The file association for files ending with the DOC extension is normally set to Word. It can get changed, however, if you install some other program on your system that utilizes files with the same extension. In Ron's case, there is a good chance that some other program was installed, and that program installed Word Viewer and reset the file association for Word files.

There are several different ways you can reset the proper file associations. Word itself provides a way to do it. Open a command prompt window and, at the command line, enter the following:

winword /r

Nothing seems to happen when you press Enter, but Word will reregister itself back in Windows. In the process, it resets the file associations for the files it uses, such as those for documents and document templates. You can close the command prompt window and double-click on a document; Word should start right up.

If you prefer, you can also make the file association change directly in Windows. Follow these steps:

  1. In Windows, right-click on a Word document icon. Windows displays a Context menu.
  2. Choose Open With from the menu. (Don't choose Open; make sure you choose Open With.)
  3. If Windows displays another level of menu, make sure you select Choose Program. Windows displays the Open With dialog box. (See Figure 1.)
  4. Figure 1. The Open With dialog box.

  5. In the list of available programs, select Word. (It may appear as Word, Microsoft Word, Microsoft Office Word, or some other variation. The wording variation doesn't matter; choose the one that is obviously for Word.)
  6. Under the list of programs there is a check box labeled something like "Always use the Selected Program to Open this Kind of File." Select this check box.
  7. Click OK.

These steps change the file association for a single type of file—the type you right-clicked on in step 1. You will still need to check other file types to make sure they open Word properly. If not, change the associations as described above.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (5687) applies to Microsoft Word 97, 2000, 2002, and 2003.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Deleting Paragraph Borders

Got a document that has a border around some paragraphs? Here's how you can get rid of the border in the fastest way ...

Discover More

Sorting Dates by Month

Sorting by dates is easy, and you end up with a list that is in chronological order. However, things become a bit more ...

Discover More

Switching between a Dialog Box and the Document

Word uses lots of dialog boxes as a way of setting configuration options and gathering information from users. When ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (menu)

Creating a Document Clone

If you need to work with a copy of a document rather than the original document, you can use Word's Open dialog box to ...

Discover More

Working with E-mailed Documents

Ding! You've got mail. That mail has a Word document attached to it. Before you rush off and open that document, take a ...

Discover More

Combining Word Documents

At some point you may want to insert one Word document inside another Word document. An easy way to do this is to use the ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 2 - 0?

2016-04-28 18:12:07

Alex

For those who get 'winword' is not recognized as an internal or external command, operable program or batch file.

Open the version of word that you want. Open Task Manager. Right click on the process and click Open File Location. Copy the location. Open Command Prompt. Type "cd " into the command prompt. Paste the file location into the command prompt. Hit Enter. Now type "winword /r" into the command prompt and it should work.


2015-01-16 19:35:08

Steve Hannah

Documents Opening in the Wrong Program- I tried both methods you suggested.

The command winword /r I get an error message: 'winword' is not recognized as an internal or external command, operable program or batch file.

If I look at the suffix of the document it has changed to .pub

If i use the other method "open using" in windows it tries to open but won't.

Any help or suggestions would be greatly appreciated.

Steve


This Site

Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.