Creating a Log File in Notepad
Posted in: Today's ChiliThis article was written on September 08, 2011 by CyberNet.
Notepad (in Windows) has a unique feature that a lot of people don’t know about. If you open a file in Notepad where the first line contains “.LOG” you will automatically see the current time and date appended to the end of the file. Here is how it works:
- Open Notepad.
- Type .LOG on the first line, and press ENTER to go to the next line.
- Save the file (you can save it with any file extension).
- Each time you open the file you’ll see the time/date appended on a new line, and your cursor will automatically be placed on the line following the time/date.
Why would something like this be useful? I’ve used it in the past when I’ve need to keep a running log of events that I had to manually track. That way whenever something would happen that I needed to log I’d just open the text file, type what I needed, save it, and close it. It may not necessarily be the most elegant solution for something like this, but it works without the need for any third-party apps.
Microsoft Support: How to Use Notepad to Create a Log File
Copyright © 2013 CyberNetNews.com