Quote:

sorry if this has been asked/answered already, but is the cmd.exe version same on failing and working system?
(didn't see the answer for the SP q either, might have missed it though...)




I started comparing the "bad" system with a "good" one. Both are WinNT 4.0 SP6a. They had different versions of CMD.EXE, though:

Bad: 4.0.1381.273
Good: 4.0.1381.7086

I copied the good system's CMD.EXE to the bad one, overwriting it, and tried the same script (which works on the "good" one just fine). Same thing as before (@ERROR of 255 and no output). I put the "bad" CMD.EXE back on the "bad" system after I was done so I can keep things straight.

So there's still something I'm missing, but it feels like we're getting closer.