I have several log files that are appended with the results for the days activities. I need the 2nd to the last line of every log file >> log.txt. I know what to do in UNIX but it doesn't appear Windows can perform a 'tail'. of a file. I have been playing with the 'find' command and 'For In (set) Do' loop, but I think that I am trying to over-engineer this thing. Anybody got a quick-fix for me???
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.