cURL / Mailing Lists / curl-users / Single Mail


Re:[solution] Windows and "!EXITCODE" env variable even

From: Robert <>
Date: Mon, 06 Dec 2004 18:53:19 -0500

OK, problem solved, I'll shuttup now :-)

Problem was that near the beginning of my .bat file I was explictly
setting errorlevel to 0.
That seems to make errorlevel want to STAY set to 0 from then on.
I changed it so that at the beginning of my .bat file I unset errorlevel
Which, for reference, is simply:

set errorlevel=

Thanks for listening to my little drama here.
I hate to say how much time I put into this before going to the list-serve
(b/c it was a lot).
Received on 2004-12-07