I'm looking for solution, how to get last 450 lines from large txt document using BATCH files.
Any suggestions?
Thanks!
I'm looking for solution, how to get last 450 lines from large txt document using BATCH files.
Any suggestions?
Thanks!
The hybrid batch file findrepl.bat
(by aacini) that uses native scripting is robust and quick on large files.
findrepl /o:-450 <file.txt >newfile.txt
This uses a helper batch file called findrepl.bat
(by aacini) - download from: https://www.dropbox.com/s/rfdldmcb6vwi9xc/findrepl.bat
Place findrepl.bat
in the same folder as the batch file or on the path.