|I have this scrip from Wahine|
for /f "tokens=*" %%1 in (input.txt) do (
if /i "!inline:~0,2!" equ "id" (set /a ctr+=1
it does exactly what I need it to do. It gets the id string down till it hits another id string and puts that in a sperate file. But I would also like it to delete those lines from the input.txt file
is there a simple modification that can be made to this script?