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

Development | Software Testing
Price
5.00 €
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
Info
You must log in or purchase one of our profile products to access.
All coments
This job 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