How to Create a WordPad Template

Last reviewed: February 21, 1997
Article ID: Q135812
The information in this article applies to:
  • Microsoft Windows 95

SUMMARY

This article describes how to create a template file in WordPad.

MORE INFORMATION

To create a template file in WordPad, follow these steps:

  1. Open a new file in WordPad.

  2. Make any changes you want to include in the template, such as font size and style, margin settings, and so on.

    NOTE: If you want to change the default font, you must type some text into the template and then assign the font.

  3. Save the file with a name that will easily identify the template, such as "WordPad Courier TEMPLATE.TPL."

  4. Double-click My Computer.

  5. On the View Menu, click Options.

  6. On the File Types tab, click the New Type button.

  7. Type a description of the template in the Description Of Type box.

  8. In the Associated Extension box, type "tpl" (without quotation marks).

  9. Click the New button.

  10. In the Action box, type "open" (without quotation marks).

  11. In the Application Used To Perform Action box, enter the complete path for WordPad.

  12. Click OK until the Options dialog box closes.

When you double-click a file with a .tpl extension, the file will be opened in WordPad.

NOTE: WordPad does not check margin settings embedded in the information header of a document but instead keeps its own margin settings stored in the registry. Therefore, you cannot restore margin settings by opening a template file if different margin settings have been set in WordPad after you created and saved the template file. Any time the margins are changed in WordPad, the new settings are written to the registry and used for all subsequent documents opened in WordPad until you manually change the margin settings again. Font and color settings, however, are stored in the information header of a document and are used by WordPad when opening that document.


KBCategory: kbusage
KBSubcategory: win95
Additional reference words: 95


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 21, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.