If I save a notepad as .LOG, it acts as a log file.
My question is when I change an entry in the middle of an existing file - it does not append today's date to that.
Is there any way to get that working ?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
As you already know, when you open a text file that begins with
.LOG, Notepad will scroll to the bottom of the file and insert the time and date.
To manually insert the time and date somewhere else, you can use Edit → Time/Date or press F5.
Open Notepad and in a new file type .LOG on the first line.
Save it as a .TXT file or .LOG file or whatever filename you want. The next time you open the file with Notepad, the current date and time will auto-magically be appended to the file.
I don't think so. Notepad only adds current date & time at the end of the file, not anywhere else.
If you're looking for an alternative, use a tool like PhraseExpress which substitutes
#date with current date and
#now with current time