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

Development | Software Testing
Author
Price

Price: 5.00 EUR

30-Day Money-Back Guarantee
Description
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

Newfile:

line 4
line 5 
Attachments
No attachments.
Solutions
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