Programmerare, skeptiker, sekulärhumanist, antirasist.
Författare till bok om C64 och senbliven lantis.
Röstar pirat.
2010-06-18
All that you have to do is to add .LOG as the first line in a text document, and then save it. Now, each time you open the text file in Notepad, the current date and time will be added to the file, and the file will be marked as unsaved. I started out like this, and saved my file:
.LOG This is a log.
Next time the file was opened, this is what Notepad showed:
.LOG This is a log. 00:32 2010-06-19
The date is not in the file, it was added when the file was opened. I added a line of text (“A new line is added to my log”), saved and reopened again. Notepad added a new line like this:
.LOG This is a log. 00:32 2010-06-19 A new line is added to my log. 00:39 2010-06-19
Those little things can be so nice to have!
Categories: General
Bjud mig på en kopp kaffe (20:-) som tack för bra innehåll!
Leave a Reply