How to Create Multiple Associations for One File Extension

Last reviewed: February 11, 1998
Article ID: Q133217
********************************************************************
     BETA INFORMATION  BETA INFORMATION  BETA INFORMATION  BETA

     This article discusses a Beta release of a Microsoft
     product. The information in this article is provided as-is
     and is subject to change without notice.

     No formal product support is available from Microsoft for
     this Beta product. For information about obtaining support
     for a Beta release, please see the documentation included
     with the Beta product files, or check the Web location
     from which you downloaded the release.

     BETA INFORMATION  BETA INFORMATION  BETA INFORMATION  BETA
********************************************************************

The information in this article applies to:

  • Microsoft Windows 95
  • Microsoft Windows 98

SUMMARY

This article demonstrates how to create more than one association for a file extension.

The example in this article demonstrates how to associate the .doc extension with both Microsoft Word for Windows and WordPad. You can use this method to associate other extensions with other programs.

MORE INFORMATION

To associate the .doc extension with Microsoft Word for Windows and WordPad, follow these steps:

  1. Double-click My Computer.

  2. On the View menu, click Options.

  3. Click the File Types tab.

  4. In the Registered File Types box, click Microsoft Word 6.0 Document.

  5. Click the Edit button.

  6. Click the New button.

  7. In the Action box, type "Open with WordPad" (without quotation marks). In the Application Used To Perform Action box, enter

          "<path>:\wordpad.exe" "%1"
    

    where <path> is the full path to Wordpad.exe. The quotation marks are required.

  8. Click OK.

If you double-click a .doc file, it opens with Microsoft Word. However, you can now use the right mouse button to click a .doc file and then click Open With WordPad on the menu that appears to open the file in WordPad.


KBCategory: kbusage
KBSubcategory: wpp95 win95 winshell
Additional reference words: 95
Keywords : winshell wpp95 win98 win95 kbusage
Version : 95
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 11, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.