P.S.: I think that you can put two commands into the same line, so instead of that complicated four-line thing you can probably just use this
Code:
for /l %i in (1,1,100) do echo #setland %i #poptype 100 >> noindy.map
I have no idea if there's something missing, but if there's an #end missing there you could just add it in the same manner.