Hello guys , here i come up with a trick That how to create your own log book on your Rather then using your PC Pen and Paper. It'll be very useful for many of us . It might be useful even for Knowing When your PC is accessed last . A very simple trick . You can keep this file in start -up folder , so When ever your PC is turned on , it executed the file and the log Will Be Noted in it automatically.
There are two easy ways to create a log . using notepad file
1st Method
.
- Open Notepad file Now
- kind LOG </ . b>(includes caps) and save the program with any name and Where You want to save your log file .
- Now re -open the saved notepad file . < / ol> That's all . It keeps a record When ever we open the file . Now you can kind the Details When the file opens just below the log time and save it with your desired text . You can even use this as your daily diary Here is the example picture
< table align = "center" cellpadding = "0" cellspacing = "0 " class = " tr- caption- container" style = "margin- left: auto , margin-right : auto; padding: 4px ; text-align : center; "> class="tr-caption" style="font-size: 11px;"> How to create a log file using Notepad
2nd Method
.
- Open Notepad Now
- kind echo % date% % time% >> log.txt
- Now save it as anyname.bat . Purpose . Bat extension shoulds be compulsory .
- Now double click on the batch file . It'll create a notepad with same name Given to batch file .
- < / ol> Now When ever you want to enter in any Particular log file , just double click on the batch file and now open the notepad file . It'll Automatically create a log detail with time and date. Now enter the data just below the date and time details and save it . Repeat the process When ever you need to enter a detail in the log
Thanks for visiting . . Hope that's beneficial
Do you like this post? Please link back to this article by copying one of the codes below.
URL: HTML link code: BB link code:
0 comments:
Post a Comment