cURL / Mailing Lists / curl-users / Single Mail

curl-users

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

From: Robert <5dx6ts03_at_sneakemail.com>
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
completely.
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