Hi Folks,
have you ever wondered when you last opened a text file? All you need to do is press F5 and it will input date and time for you. I position the cursor at the top before pressing F5.
A Notepad tip.
-
- 5StarLounger
- Posts: 1021
- Joined: 23 Jan 2011, 01:52
- Location: Witness Protection Program.
A Notepad tip.
Windows 11 Home 22H2
Regards,
George.
-
- Administrator
- Posts: 7222
- Joined: 15 Jan 2010, 22:52
- Location: Middle of England
Re: A Notepad tip.
And if you add
.LOG
to the top of the file, it'll do it automatically for you!
See How to Use Notepad to Create a Log File
.LOG
to the top of the file, it'll do it automatically for you!
See How to Use Notepad to Create a Log File
Leif
-
- 5StarLounger
- Posts: 1021
- Joined: 23 Jan 2011, 01:52
- Location: Witness Protection Program.
Re: A Notepad tip.
Hi Leif, I think my method is easier. as it can be placed at the top giving easier access in a large file. Also you don't have to add .LOG to every txt file.
Windows 11 Home 22H2
Regards,
George.
-
- PlatinumLounger
- Posts: 3757
- Joined: 24 Jan 2010, 11:00
- Location: Lexington, KY, USA
Re: A Notepad tip.
Not sure I fully understand your proposal, so a question. Is "opened" a synonym for "viewed?"Roderunner wrote:Hi Folks,
have you ever wondered when you last opened a text file? All you need to do is press F5 and it will input date and time for you. I position the cursor at the top before pressing F5.
Let's say I have a text file I just want to open and read, WITHOUT making any edits to the file. I just need to re-read its contents and then close the file.
If I take your step and add the date and time, I would then have to SAVE the file again, would I not?
That being the case, Windows Explorer already tells me the dates created and last modified. But it does not tell me the last time I viewed the file but did not make any changes.
-
- 5StarLounger
- Posts: 1021
- Joined: 23 Jan 2011, 01:52
- Location: Witness Protection Program.
Re: A Notepad tip.
Hi Al, I use it to keep a record of when I last did certain tasks.
Windows 11 Home 22H2
Regards,
George.