Article View: comp.os.os2.programmer
Article #1277Re: Is there any way to execute a DOS program from a WINOS2 program?
From: Marty J. Sirkin
Date: Mon, 31 Aug 1992 09:49
Date: Mon, 31 Aug 1992 09:49
32 lines
1977 bytes
1977 bytes
David Charlap writes: >> The question is: Is there any way that I can have a Windows program >>under WINOS2 execute a small DOS .exe?? Or is it simply not to be done? Or >>have I missed something really basic? > Can't be done. WIN-OS2 will not launch non-Windows apps. At least > the current version. IBM hinted that they may add this ability in the > future. For now, they (and I) fail to see the need for DOS boxes > under WIN-OS2, when you can have them under OS/2. David: To let you know where I'm coming from: It is sometimes the case that you have an executable (only in .exe form) that you would like to run from the middle of a program (OS/2 or Windows). You do not have the object or import libraries, so you cannot either statically or dynamically link the code in, you can only execute it. It is this kind of situation about which I wrote. Examples of this might be: uncompress utilities or printer utilities. You often only get the .exe files with these. I agree with you 100% about the DOS boxes, though. One can easily move to the WPS to spawn a DOS box (for now). The only problem with *this* is if you are running in an SVGA mode of WINOS2, and don't yet have drivers for your card for OS2. Then you have to kill the WINOS2 session to get to the DOS box. Hope this helps with explaining my question better. Marty Sirkin
Technical Details
Message-ID:
<MARTY.92Aug31094929@predator.cs.utexas.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!cs.utexas.edu!martyReferences:
<l9sep2INNqlc@predator.cs.utexas.edu> <1992Aug28.205248.21272@njitgw.njit.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!cs.utexas.edu!marty From: marty@cs.utexas.edu (Marty J. Sirkin) Newsgroups: comp.os.os2.programmer Subject: Re: Is there any way to execute a DOS program from a WINOS2 program? Date: 31 Aug 92 09:49:29 Organization: Univ. of Texas at Austin, CS Dept. Lines: 32 Message-ID: <MARTY.92Aug31094929@predator.cs.utexas.edu> References: <l9sep2INNqlc@predator.cs.utexas.edu> <1992Aug28.205248.21272@njitgw.njit.edu> NNTP-Posting-Host: predator.cs.utexas.edu In-reply-to: dic5340@hertz.njit.edu's message of 28 Aug 92 20:52:48 GMT