🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #704

Interrupt 2E and batch files

#704
From: Rick Moll
Date: Thu, 15 Nov 1990 23:00
24 lines
1339 bytes
I am  currently  working  on  a  project  which uses the 2E interrupt when
spawning processes. However, a nasty glitch has reared its  ugly  head;  it
seems  that  if a batch file invokes an executable on anything but its last
line, and the executable uses INT  2E  to  spawn  a  process,  DOS  merrily
ignores  the  command line passes in DS:SI and instead continues processing
the next line of the batch file.

E.G.: given this batch file:

ECHO Before...
MASTER.EXE
ECHO After...

       if MASTER.EXE attempts to use INT 2E, instead  of  whatever  it  may
have passed, the "ECHO After..." line will execute. When MASTER terminates,
this line does not get executed again.

If anybody has a workaround that will convince DOS not to resume batch file
processing, I would be most verily grateful for your help.

Reply   via   e-mail    to    72500.3705@compuserve.com    or    post    to
ALT.MSDOS.PROGRAMMER.

        --Kevin Vigor
Technical Details
Message-ID: <508@wicat.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cs.utexas.edu!hellgate.utah.edu!uplherc!wicat!rick

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cs.utexas.edu!hellgate.utah.edu!uplherc!wicat!rick
From: rick@wicat.UUCP (Rick Moll)
Newsgroups: alt.msdos.programmer,comp.sys.ibm.pc.misc
Subject: Interrupt 2E and batch files
Summary: Int 2E from batch doesn't work
Keywords: INT 2E batch bug
Message-ID: <508@wicat.UUCP>
Date: 15 Nov 90 23:00:31 GMT
Organization: WICAT Systems, Orem, Utah
Lines: 24