Solved Delete first 64lines from a file

June 29, 2011 at 21:19:03
Specs: Windows Vista
I used dos in vista to run:

@echo off
for /F "skip=64 delims=" %%j in ('type "stmt1.txt"') do echo.%%j>> "stmt11.txt"
del "stmt1.txt"
ren "stmt11.txt" "stmt1.txt"

to remove 64lines from my file.
It does remove the 64lines, but the file format is not as the original file.
seems like it went up 2 lines.

How do I keep the original format of the file?


See More: Delete first 64lines from a file

Report •

June 29, 2011 at 23:50:46
✔ Best Answer
What about:

more +64 "stmt1.txt" > "stmt11.txt"

Report •

June 30, 2011 at 00:14:07
The simplest and basic method works the best.

Thanks Judago

Report •

Related Solutions

Ask Question