delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/01/12:46:27

From: Paul Campisi <pcampisi AT ececs DOT uc DOT edu>
Date: Thu, 1 May 1997 12:31:27 -0400 (EDT)
Message-Id: <199705011631.MAA08470@banana.ece.uc.edu>
To: djgpp AT delorie DOT com
Subject: System command

Hello,
	I have a question about the System command. Whenever I call
it and the file IS NOT an executable the whole program crashes. I know,
you aren't supposed to be trying to execute the file in the first place,
but isn't there a way to TRAP the error and not cause a crash if the 
program is not an executable? COMMAND.COM doesn't crash if you try
to run CONFIG.SYS!
	Can anyone point me in the right directions?

Thanks,
	Paul

- Raw text -


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