Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Question

Change the default .txt template

Oct 19, 2015 1:19AM PDT

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

- Collapse -
Answer
Not sure that's possible
Oct 19, 2015 1:57AM PDT

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
Oct 19, 2015 2:33AM PDT

make sure notepad is the default program for txt files Happy

- Collapse -
Thank you
Oct 19, 2015 2:53AM PDT

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
Oct 19, 2015 3:03AM PDT

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