I am trying to find some information to automate my morning checks. I would like to write a batch file to view the last 20 lines of the activity log. We have about 42 remote servers. Thank you for you help.
There is a unix util called tail.exe that can be run on windows. You pass it the filenam and the number of lines you want returned from the end of a file, you can redirect the output to a text file.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.