delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/21/05:38:16

Message-ID: <001701c14280$89ead440$26d24dd5@piec>
From: "Piotr Fusik" <pfusik AT poczta DOT onet DOT pl>
To: <djgpp AT delorie DOT com>
Subject: Exit code of a .COM program is always zero?
Date: Fri, 21 Sep 2001 10:52:17 +0200
MIME-Version: 1.0
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 ]

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019