Message-ID: <001701c14280$89ead440$26d24dd5@piec> From: "Piotr Fusik" To: Subject: Exit code of a .COM program is always zero? Date: Fri, 21 Sep 2001 10:52:17 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Reply-To: djgpp AT delorie DOT com redir -x test.com (Redir 2.1) prints "Exit code: 0". test.com returns a non-zero code, as show: if errorlevel 1 ... redir -x test.com (Redir 1.0) redir -x start /w test.com (start is from Windows 98) Well, this isn't big deal, but make 3.79 doesn't stop when a .COM program indicates an error. Regards, Piotr Fusik -- r e k l a m a Lista Plac [ http://listaplac.onet.pl ]