Executing Dual Format PE32 executables

  • Thread starter Thread starter OShah
  • Start date Start date
O

OShah

I have a dual format application. That's an app that runs as a Dos (MZ) app
in MS-DOS and as a Windows (PE) app in Windows. Instead of printing "This
program cannot be run in MS-DOS Mode" in Dos, the app starts a full MS-DOS
program.

I want to run only the DOS part of the app. The problem is that Windows XP
Pro will only run the windows portion of that app. I want to run only the DOS
portion of the app.

Is there a way to force WinXP to run the DOS app and ignore the windows part?
Preferrably, is it possible to do without rebooting to dos, or hacking the
executable?

TIA.



--
------------------------------------------------------------------------
oshah [shexec32]
Control Panel -> System -> Advanced -> Error Reporting -> Choose Programs
-> Do not report errors for these programs:

Acrobat.exe
waol.exe

------------------------------------------------------------------------
 
Windows XP is not based on DOS, therefore there is no DOS
to boot into.

HOW TO: Use Windows Program Compatibility Mode in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;292533&Product=winxp

How to use the Program Compatibility Wizard in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;301911&Product=winxp

--
Carey Frisch
Microsoft MVP
Windows XP - Shell/User

Be Smart! Protect Your PC!
http://www.microsoft.com/athome/security/protect/default.aspx

-------------------------------------------------------------------------------

:

| I have a dual format application. That's an app that runs as a Dos (MZ) app
| in MS-DOS and as a Windows (PE) app in Windows. Instead of printing "This
| program cannot be run in MS-DOS Mode" in Dos, the app starts a full MS-DOS
| program.
|
| I want to run only the DOS part of the app. The problem is that Windows XP
| Pro will only run the windows portion of that app. I want to run only the DOS
| portion of the app.
|
| Is there a way to force WinXP to run the DOS app and ignore the windows part?
| Preferrably, is it possible to do without rebooting to dos, or hacking the
| executable?
|
| TIA.
|
|
|
| --
| ------------------------------------------------------------------------
| oshah [shexec32]
| Control Panel -> System -> Advanced -> Error Reporting -> Choose Programs
| -> Do not report errors for these programs:
|
| Acrobat.exe
| waol.exe
|
| ------------------------------------------------------------------------
 
You can try editing or using a custom autoexec.nt and set DOSONLY then start your program
command /k notepad

which says
This program cannot be run in DOS mode.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top