Wednesday, August 09, 2006

Notepad hidden features: How to use Notepad to create a (manual) log file

In case you missed it, here's how "Bush hid the facts"
To create a log file in Notepad:
1. Click Start, point to Programs, point to Accessories, and then click Notepad.
2. Type .LOG on the first line, and then press ENTER to move to the next line.
3. On the File menu, click Save As, type a descriptive name for your file in the File name box, and then click OK.
When you next open the file, note that the date and time have been appended to the end of the log, immediately preceding the place where new text can be added.
You can use this functionality to automatically add the current date and time to each log entry.

How to Use Notepad to Create a Log File

Pretty cool, everytime you open the file after that (in Notepad), it adds a timestamp
 and you can enter some text

No comments: