Logging using Windows Notepad11th August 2007
Thanks to a friend of mine, I came across this hidden Windows feature. Ever wished you could insert the timestamp into a text document each time it was opened? Don't worry. The feature is already built into most of the Windows versions, including Vista!
Try this. Open Notepad, type .LOG in the very first line and save the file in any name. Close the file. Try opening the same file using Notepad now. Each time you do that, the current timestamp value will be appended to the end of the file. Just too simple, isn't it?
Here's a Microsoft Support link which substantiates this.