Welcome to MSDN Blogs Sign in | Join | Help

Hirlpoo West

Notes (technical and not so technical) from the Microsoft Field.

Syndication

News

Postings here are provided
"AS IS" with no warranties
and confer no rights.

View Derek Dysart's profile on LinkedIn


Cool Notepad Trick

This neat trick came across on an internal alias.  I hadn't seen this before, but I'm guessing it isn't new. Pretty handy for notetaking (if you're a plain text sort of guy/gal).

  1. Open a blank Notepad file
  2. Write .LOG (in uppercase) in the first line of the file, followed by Enter. Save the file and close it.
  3. Double-click the file to open it and notice that Notepad appends the current date and time to the end of the file and places the cursor on the line after.
  4. Type your notes and then save and close the file.
  5. Each time you open the file, Notepad repeats the process, appending the time and date to the end of the file and placing the cursor below it.

[Update:  Evidentally this is explained in KB260563 which makes it look like this feature has been around since Windows 98.  Still pretty cool in my book.

I was in a presentation today with Jeff Sanquist and as he was scrolling through his blog on screen saw he picked up on this too.]

Published Thursday, July 06, 2006 4:11 PM by ddysart

Filed under:

Comments

# Piccolo trucchetto in notepad @ Thursday, July 06, 2006 5:40 PM

Creare un documento notepad vuoto
Scivere alla prima riga .LOG (tutto maiuscolo) seguito da un invio...

Mighell's blog

# re: Cool Notepad Trick @ Thursday, July 06, 2006 5:50 PM

I sort of prefer just to use F5 when I want insert a date, but this is something I hadn't seen before.

Tobin Titus

# re: Cool Notepad Trick @ Thursday, July 06, 2006 10:47 PM

Didn't know about the F5 trick either, thanks!

ddysart

# Journaling in .txt with Notepad @ Friday, July 07, 2006 1:31 PM

Blogger and Microsoft employee Derek Dysart has posted a great tip for automatically dating every new entry in a text file edited with Notepad. Open a blank Notepad file Write .LOG (in uppercase) in the first line of the...

Lifehacker

# Share Cherub » Blog Archive » ??????Notepad???log @ Friday, July 07, 2006 7:05 PM

PingBack from http://cherub325.homedns.org/blog/?p=131

Share Cherub » Blog Archive » ??????Notepad???log

# square10 » Blog Archive » Tech from Lifehacker @ Friday, July 07, 2006 7:36 PM

PingBack from http://square10.wordpress.com/2006/07/07/tech-from-lifehacker-6/

square10 » Blog Archive » Tech from Lifehacker

# links for 2006-07-08 | Musings by Steve Miller @ Saturday, July 08, 2006 12:18 AM

PingBack from http://blog.steve-miller.is-a-geek.com/archives/2006/07/07/links-for-2006-07-08/

links for 2006-07-08 | Musings by Steve Miller

# Nine Baud Tech News » Interesting Notepad Tip @ Saturday, July 08, 2006 4:24 PM

PingBack from http://www.ninebaud.com/2006/07/08/interesting-notepad-tip/

Nine Baud Tech News » Interesting Notepad Tip

# » links for 2006-07-09 Ian’s Messy Desk @ Sunday, July 09, 2006 10:10 AM

PingBack from http://www.ismckenzie.com/07/09/links-for-2006-07-09/

» links for 2006-07-09 Ian’s Messy Desk

# Madinina Joint Selecta » Journaling in .txt with Notepad @ Monday, July 10, 2006 12:13 PM

PingBack from http://madinina.jointselecta.net/?p=4

Madinina Joint Selecta » Journaling in .txt with Notepad

# Journaling in .txt with Notepad - davecentral Planet David Central & Dave Central Planet @ Thursday, July 13, 2006 3:29 AM

PingBack from http://www.davecentral.net/2006/07/07/journaling-in-txt-with-notepad/

Journaling in .txt with Notepad - davecentral Planet David Central & Dave Central Planet

# Wisiwip » Blog Archive » Digg 15/07/06 @ Saturday, July 15, 2006 3:44 AM

PingBack from http://diskc.net/blog/183/digg-150706/

Wisiwip » Blog Archive » Digg 15/07/06

# » Return; Link Dump  InsideMicrosoft - part of the Blog News Channel @ Wednesday, July 26, 2006 5:25 AM

PingBack from http://microsoft.blognewschannel.com/index.php/archives/2006/07/26/return-link-dump/

» Return; Link Dump  InsideMicrosoft - part of the Blog News Channel

# Use Notepad to Create Log Files @ Wednesday, July 26, 2006 2:15 PM

PingBack from http://www.quickonlinetips.com/archives/2006/07/use-notepad-to-create-log-files/

Use Notepad to Create Log Files

# Psychology of Weblogs ›› ???????????? ???????????? ???????????? @ Thursday, July 27, 2006 12:52 AM

PingBack from http://www.choding.com/archives/93/

Psychology of Weblogs ›› ???????????? ???????????? ????????????

# re: Cool Notepad Trick @ Monday, August 07, 2006 9:19 AM

pretty neat but f5 works just as good

itsmeagain

# Cool Notepad Trick : Techtips @ Monday, August 07, 2006 11:50 PM

PingBack from http://techtips.chanduonline.com/2006/08/07/cool-notepad-trick/

Cool Notepad Trick : Techtips

# Hirlpoo West : Cool Notepad Trick @ Tuesday, August 22, 2006 4:22 PM

Another great trick of our old friend notepad.exe Link to Hirlpoo West : Cool Notepad Trick

Just Coding

# re: Cool Notepad Trick @ Tuesday, August 22, 2006 8:30 PM

This was way back in Windows 3 IIRC

Ian

New Comments to this post are disabled
Page view tracker