
reg file, and calls regedit to merge without prompting the contents to the registry to rewrite the notepad defaults. > %_npf2% echo "iWindowPosDY"=dword:00000260Įcho prints ascii/text files via notepad to default printer

> %_npf2% echo "lfFaceName"="Courier New" Start /W regedit /E %_npf1% "HKEY_CURRENT_USER\Software\Microsoft\Notepad" The following batch file by newsgroup respondent Ruul Morawetz is a little bit fancy, but will force a standard set of defaults for notepad: You need to force a registry structure, and then you can easily use a batch file, even in your logon script, to change the settings. RE: Notepad Font Default Settings - Changing bcastner (IS/IT-Management) 13 Jan 04 10:28 so I am hoping to have equally good luck this time. The last time I had an issue that stumped my co-workers, Tek-Tips answered it in an hour. Eventually, I do get it put back to something readable, but it is very annoying to change each document in the meantime. Changing the font and font size on a subsequent document, saving it, closing it, or any combination of those actions does not always change it back to "Lucida Console, Size 6" for example, this has to be done in a certain way and I have been unable to establish a pattern, or to find a way to do change it 100% of the time. It is the "something" that I am unable to find.

Every subsequent document will also be in Tahoma, Size 14 until "something" changes.
#What is notepad++ default font how to
What do I need to do to set this so that every file will not open in the new font (see example for description)? I have checked the registry and find no folder for "Notepad" default settings, nor do I find anything in the program itself saying how to make all documents appear in a certain way.Įxample, I set something to temporarily be in Tahoma, Size 14. Ocassionally in a Notepad document, I will change the Notepad font and its size for something and I am looking for the answer to the following question: I have a program that runs reports to the screen in Notepad and the font and its size have an effect on the readability of the file I see - the font has to be an equally-spaced letter font.
