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).
- Open a blank Notepad file
- Write .LOG (in uppercase) in the first line of the file, followed by Enter. Save the file and close it.
- 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.
- Type your notes and then save and close the file.
- 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. ]
Comments
- Anonymous
July 06, 2006
Creare un documento notepad vuoto
Scivere alla prima riga .LOG (tutto maiuscolo) seguito da un invio... - Anonymous
July 06, 2006
I sort of prefer just to use F5 when I want insert a date, but this is something I hadn't seen before. - Anonymous
July 06, 2006
Didn't know about the F5 trick either, thanks! - Anonymous
July 07, 2006
The comment has been removed - Anonymous
July 07, 2006
PingBack from http://cherub325.homedns.org/blog/?p=131 - Anonymous
July 07, 2006
PingBack from http://square10.wordpress.com/2006/07/07/tech-from-lifehacker-6/ - Anonymous
July 07, 2006
PingBack from http://blog.steve-miller.is-a-geek.com/archives/2006/07/07/links-for-2006-07-08/ - Anonymous
July 08, 2006
PingBack from http://www.ninebaud.com/2006/07/08/interesting-notepad-tip/ - Anonymous
July 09, 2006
PingBack from http://www.ismckenzie.com/07/09/links-for-2006-07-09/ - Anonymous
July 10, 2006
PingBack from http://madinina.jointselecta.net/?p=4 - Anonymous
July 12, 2006
PingBack from http://www.davecentral.net/2006/07/07/journaling-in-txt-with-notepad/ - Anonymous
July 14, 2006
PingBack from http://diskc.net/blog/183/digg-150706/ - Anonymous
July 25, 2006
PingBack from http://microsoft.blognewschannel.com/index.php/archives/2006/07/26/return-link-dump/ - Anonymous
July 26, 2006
PingBack from http://www.quickonlinetips.com/archives/2006/07/use-notepad-to-create-log-files/ - Anonymous
July 26, 2006
The comment has been removed - Anonymous
August 07, 2006
pretty neat but f5 works just as good - Anonymous
August 07, 2006
PingBack from http://techtips.chanduonline.com/2006/08/07/cool-notepad-trick/ - Anonymous
August 22, 2006
The comment has been removed - Anonymous
August 22, 2006
This was way back in Windows 3 IIRC