Batch file to delete first 3 lines of a text file
more +3 “file.txt” >”file.txt.new” move /y “file.txt.new” “file.txt” >nul The above is fast and works great, with the following limitations: TAB characters are converted into a series of spaces. The number of lines to be preserved must be less than ~65535. MORE will hang, (wait for a key press), if the line number is exceeded. … Read more