Solution: Batch file to Copy the last n lines of a text file into a new text file

Development | Software Testing

Price: 5.00 € (for solution)

Money-Back Guarantee
is there a way using a batch file to copy the last n lines of a log file into a new text file.

Log file:

line 1
line 2
line 3
line 4
line 5
n = 2


line 4
line 5 
No attachments.
You must purchase this solution to view the solution.
What masters said
You need to purchase this solution to comment on the solution.
All comments
This solution has not been commented yet.
We use cookies to give you the best possible experience on our site. By continuing to use the site you agree to our use of cookies. Find out more Accept