On 5/3/2012 2:00 PM, martin@v.loewis.de wrote:
I think that .bat files strictly *have* to have CRLF line endings.

Nope.  Both .bat and .cmd work fine with LF only in Win7 (and IIRC, in XP as well, but I just tested Win7)