BerwickHeightsSoftware

Building Quality Into Enterprise Software

Welcome to Berwick Heights Software Sign in | Join | Help
in Search

Stuart Jones Weblog

Auto-Timestamped Log Files

Here's an MSDN article that explains a simple trick to create automatically timestamped entries in a text-based log file. I use Textpad instead of Notepad, and the technique works with Textpad as well. The basic idea is that you open a file in a text editor such as Notepad or Textpad, then put ".LOG" on the first line. Close the file. Each time you reopen it, the current date/time will be appended to the file.

I realize that this is an "old trick" for some, but maybe others haven't heard of it.

Published Friday, September 22, 2006 8:49 AM by stuart
Filed Under:

Comments

No Comments
New Comments to this post are disabled

This Blog

Post Calendar

<September 2006>
SuMoTuWeThFrSa
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

Syndication

Powered by Community Server, by Telligent Systems