Lot of times, we use the Notepad to quickly write down some points. Notepad offers a really nice feature for such users.Imagine Notepad automatically appending the timestamp every time you open it to write some info…..
Take a look at this –
1. Create a blank text file with .LOG as the first line of the file, followed by a carriage return. Save the file with any .txt extension.
2. Double-click the file to open it and notice that Notepad appends the current date and time to the end of the file and places the cursor on the line after.
3. Type your notes and then save and close the file.
Each time you open the file, Notepad repeats the process, appending the time and date to the end of the file and placing the cursor below it.
While digging on the net about this nifty little tip, I chanced upon this additional article from Microsoft’s Knowledge base:
Microsoft Notepad is a word processing tool included with Windows and is installed by default under the Accessories program group. You can use it to create a log-type file that adds the current date and time each time the Notepad file is opened. This article describes how to create a log file with Notepad.
To create a log file in Notepad:
- Click Start, point to Programs, point to Accessories, and then click Notepad.
- Type .LOG on the first line, and then press ENTER to move to the next line.
- 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.