Question

Change the default .txt template

Hi guys,

Just wondering if anyone knows how to change the default template that notepad uses. I want to a word to be displayed already once I open up notepad.

Thank you!

Discussion is locked
Follow
Reply to: Change the default .txt template
PLEASE NOTE: Do not post advertisements, offensive materials, profanity, or personal attacks. Please remember to be considerate of other members. If you are new to the CNET Forums, please read our CNET Forums FAQ. All submitted content is subject to our Terms of Use.
Reporting: Change the default .txt template
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Comments
- Collapse -
Answer
Not sure that's possible

but others here may know differently.

Notepad's default settings are held in the registry but there are no provisions for creating a Notepad file such as you would with, for example, Microsoft's Word, (.dotx template file).

You might find this useful; https://www.petri.com/how-to-restore-default-windows-notepad-settings

However, what about a workaround? This is what I would do;

* Create a Notepad file with the content/word I want displayed each time it is opened.
* Save that file to some personal folder on your hard disk.
* Create a shortcut for that file and place the shortcut on your Desktop.
* Use that as you wish.

Mark

- Collapse -
you forgot to mention

make sure notepad is the default program for txt files Happy

- Collapse -
Thank you

I was thinking there was some type of template similar to Microsoft's wod .dotx file, but I couldn't find anything on my machine.

When I right click on my desktop and go to new > text document I want the file that it opens up to contain text already.

- Collapse -
Re: new txt document

Then you would have to define some sort of new document type and tell Windows what to do for that document type if you choose new > myowntextdocument.

For example, copy a certain file to a random filename in your MyDocuments and open that in Notepad (you can't start Noepad with contents) or call your own custom editor. Your programmer certainly can make such an editor, based on an existing OPEN SOURCE TEXT EDITOR (google that). But Microsofts Notepad doesn't support it.

Kees

CNET Forums