Autodate your notes with Notepad (even without scripting)

First and foremost, NOTEPAD has been my dependable friend or companion so to speak even from the start of my IT career. Waaaaay back in my high-school days when I was taking notes and doing some HTML, on my college days when I was learning JavaScript I have used notepad.exe for editing HTML and viewing it on IE on Windows 98. I learned DHTML and even editing perl and bash scripts using notepad, still it has filled its purpose. This is not to mention doing some batch files (.bat) and other cmd prompt scripting, and creating some registry settings (.reg). Enuf of our history, my age is showing 🙂

Today when teaching and coaching junior programmers and developers what does it mean to create a good software, I always give NOTEPAD as an example. Well for one, I never crashed a notepad nor had a notepad crashed the entire operating system. It is stable, intuitive to use, had a wide range of use and highly dependable.

Okay, another thought would be, it has been with Windows 98 as far as I can remember (sorry guys, never had the chance to use 95 so go figure out the history for your selves). If you have a software that has been included in almost all of the Windows operating system, it must be a good software. So love your notepad.

With this example, you may be surprised that Notepad has another use, creating notes that has autodates – even without scripting!

All you have to do is put a “.LOG” (All CAPS, without quotes) on the topmost of your notepad file, like the one on the sample below.

1

Close and save your file.

2

for this example I will use this as my notes so I will name this file as “myNotes.txt”

3

So after saving, just open the txt file that we created.

4

You will see that there is now a time stamp right after the .LOG. This is automatically generated everytime you close your txt file.

56

Try it your self, a notepad (txt) file with a auto time stamp, cheers!

7

8

Advertisements

Published by

johndelizo

I'm John and in the daytime I am the Chief Technology Officer of VFTS.NET - a consulting firm that specializes on development and deployment of business solutions created with .NET framework on Windows platform and Windows infrastructure projects. I am a core member of the Philippine Windows Users Group, a contributor at the Microsoft Philippines Community forums and I regularly conduct technical sessions as well as other Microsoft technology events. I am a Microsoft Most Valuable Professional in the Cloud and Datacenter Management Technical Expertise but away from any keyboard I spend hours reading books, travel, explore, and being busy with my dog named Floppy.

One thought on “Autodate your notes with Notepad (even without scripting)”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s