Changing default settings for notepad.exe

G

Guest

If I remember correctly, earlier versions of Windows kept default notepad.exe
settings in the registry. I can't seem to find them in the Windows2000
registry. I want to get rid of the header and footer and permanently change
the page margins. Can that be done, or are the settings hard-coded in the exe?
 
D

dcdon

Look in Notepad
File
Page Setup


dcdon


If I remember correctly, earlier versions of Windows kept default notepad.exe
settings in the registry. I can't seem to find them in the Windows2000
registry. I want to get rid of the header and footer and permanently change
the page margins. Can that be done, or are the settings hard-coded in the exe?
 
R

Rob Stow

Scott said:
If I remember correctly, earlier versions of Windows kept default notepad.exe
settings in the registry. I can't seem to find them in the Windows2000
registry. I want to get rid of the header and footer and permanently change
the page margins. Can that be done, or are the settings hard-coded in the exe?

Don't bother trying to do this from within Notepad - they
will revert back next time you start Notepad.

If you insist on using Notepad instead of a professionally
made text editor, there are many settings you can tweak
with RegEdit. Of particular interest to you would be:

HKEY_CURRENT_USER\Software\Microsoft\Notepad\iMarginTop
HKEY_CURRENT_USER\Software\Microsoft\Notepad\iMarginBottom
HKEY_CURRENT_USER\Software\Microsoft\Notepad\iMarginLeft
HKEY_CURRENT_USER\Software\Microsoft\Notepad\iMarginRight
HKEY_CURRENT_USER\Software\Microsoft\Notepad\szHeader
HKEY_CURRENT_USER\Software\Microsoft\Notepad\szFooter

I also once saw a little applet at download.com or some
place like it that does nothing more than let you tweak
your Notepad settings. Saves you the trouble of figuring
out the syntax for the page headers and footers.
 
P

Pegasus \(MVP\)

I've been looking for this one for several years - thanks for
posting it! There appears to be a minor error for the page
footer:
Instead of: HKEY_CURRENT_USER\Software\Microsoft\Notepad\szFooter
use: HKEY_CURRENT_USER\Software\Microsoft\Notepad\szTrailer
 
R

Rob Stow

Pegasus said:
I've been looking for this one for several years - thanks for
posting it! There appears to be a minor error for the page
footer:
Instead of: HKEY_CURRENT_USER\Software\Microsoft\Notepad\szFooter
use: HKEY_CURRENT_USER\Software\Microsoft\Notepad\szTrailer

I goofed - I pasted
HKEY_CURRENT_USER\Software\Microsoft\Notepad\
six times into my previous post and at the end of each
I manually typed the value names. Obviously I got at
least one of value names wrong.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top