5 hidden features of Notepad, you might have yet not used

Notepad is the simplest of anytext editor you can get for Windows, and that’s why so many of us regularly use it.  Lets see the 5 hidden features of Notepad, you might have yet not used.
Although many people including me have started using  Notepad++, many still stick to using Notepad as their primary text editor. Notepad has been bundled with Windows ever since Windows launched and it’s only modified slightly. But after decades of use, there are a few hidden features in Notepad which many of us might have not known.I am exploring some of such features.

1. Insert the Time and Date

Press F5 or choose Edit and Time/Date to automatically insert the time and date into Notepad. Handy for all those administrator logs you’ll be keeping.

2. Switch to Right-to-Left Reading Order

Right-click in Notepad and choose Right to Left Reading Order to change the way the text is displayed. This is useful if you’re typing in a language that is read from right to left, such as Arabic or Hebrew. It only reverses the order of the letters and words if you are actually typing in a language that reads from right to left. For English and other left to right languages, it arranges it much as if it were right-aligned, except the punctuation ends up on the left side of the line.

3. Insert a Timestamp Each time a File is Opened

Create a new .txt file and at the very top on the first line, insert: .LOG. Now, whenever you open the file in Notepad.exe, Notepad will automatically insert a timestamp on the next line. This is handy if you have scripts or other automated network tasks where a log file is created.

4. Customize the Header and Footer in Notepad

Notepad doesn’t have the rich text editing features of bonafide word processors, but you can still add a header and footer to each page for printing. To do so, click File and choose Page Setup. Here, you’ll see the Header and Footer boxes. You can enter plain text here, or special characters which automatically insert the date, time, page number and other information.

See the chart below for the special characters you can use in Notepad headers and footers:

Output Special Character
Date &d
Timestamp &t
Page number &p
Filename &f
Ampersand (&) &&
Left align header/footer &l
Right align header/footer &r
Center align header/footer &c

5. Go To a Specific Line

Press CTRL-G or click Edit and choose Go To…. to jump to a specific line in the text document. Note that you must have Word Wrap turned off (click Format and choose Word Wrap) for the Go To…. feature to work.

You don’t need to number your lines in order for this to work, and if you do, Notepad will just go by its own numbering, with the first line number as 1, the second as 2 and so forth. This might be helpful if you’re using Notepad.exe to code or script, and your browser spits out an error such as “Syntax error on Line 642.” You can then open up Notepad.exe, hit CTRL-G and type in 642 and automatically be taken to the offending line of code. That’s much easier than counting them by hand.

Also, note, that when you first hit CTRL-G, the number in the field will be the current line number, which his helpful for keeping track of where you are in your text document. You can also see the Line and Column number by clicking View and choosing Status Bar.

Let us know if you know any of more features about Notepad.exe. Comment about the above features are they helpful or you could have more better things to do with Notepad.exe.

This entry was posted in Tech Guides and tagged . Bookmark the permalink.