fortypoundhead.com

Automatic date/time stamp in Notepad

Posted On 2010-08-14 by dwirch
Keywords:
Tags: General Tip Windows Windows 7 Windows XP
Views: 6054


Ahh, Notepad. You've served me well for many years. But I just learned of a new trick that you can do with it, like stamp the date and time in the file, making a handy, quick-loading journal.

  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.


About the Author

dwirch has posted a total of 179 articles.

You can find more information from dwirch by visiting http://www.derekwirch.com.


Comments On This Post

By: Nick
Date: 2010-08-28

Cool

By: AnonymousCoward
Date: 2015-03-14

How do you turn time and date off. 

By: dwirch
Date: 2015-03-15

Remove the .LOG from the top of the file.


Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:54.162.181.75

Before you can post, you need to prove you are human. If you log in, this test goes away.




Recent Forum Posts

Advanced search added
dwirch posted on September 23, 2017 at about 13:44 in Site News

Job Spammer: Gaurav Mehta - AgreeYa Solutions
dwirch posted on September 22, 2017 at about 10:35 in Spammers

Job Spammer: Prutha Siri - Javelin Systems
dwirch posted on September 10, 2017 at about 6:15 in Spammers

New security implemented
dwirch posted on September 7, 2017 at about 7:16 in Site News

Malicious IP Checker Companion Tool
dwirch posted on August 12, 2017 at about 20:24 in Site News

Job Spammer: Steve Adams
dwirch posted on August 8, 2017 at about 7:44 in Spammers