Several time we need to trace our log to check which types of error and waring exist in our computer system there is a easy way to generate system log.you don't need any software installation.So copy this script and paste in notepad and give name like log.bat in your Operating System drive (like C: drive or whatever you want).
Script:
- @echo off
- echo. > l1.txt
- echo Log File >> l1.txt
- echo. >> l1.txt
- echo User : %username% >> l1.txt
- Date /t >>l1.txt
- Time /t >> l1.txt
- echo. >> l1.txt
- echo Process Ran by %username% >> l1.txt
- echo. >> l1.txt
- qprocess >> l1.txt
- echo. >> l1.txt
- echo Network Activities >> l1.txt
- netstat -s >> l1.txt
- exit
And here is another part of this application which is an HTML code to show you log in Browser.just Copy and paste this code in notepad and save as log.html .
Code :
No comments:
Post a Comment