|Well, I did mess up the output, should have had double pipe, and I typo-ed an extra percent after the "a" variable, line should look like this:|
for /f "tokens=2 delims==" %%a in (abc-%%i) do if "%%a" neq "" >> newfile echo %%a
but aside from that, (dumb mistake on my part), the script ran fine on my xp work-bench. I used no extensions on the input files names, and made only about 4 lines per file (two files), some with "=" and some with none. I doubt it is a "seven" issue.
that still did not generate the same error you got, on my workbench, but you might try the script with these fixes.
That's about all I can contribute, at this point. sorry it failed, and good luck.