Linked by Thom Holwerda on Wed 20th Feb 2008 00:11 UTC, submitted by irbis
Thread beginning with comment 301716
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[6]: Comment by merkoth
by zizban on Wed 20th Feb 2008 19:10
in reply to "RE[5]: Comment by merkoth"
RE[7]: Comment by merkoth
by Doc Pain on Wed 20th Feb 2008 19:34
in reply to "RE[6]: Comment by merkoth"
What are OS/2 .exe files run with? :-)
OS/2?
OS/2?
Let's check...
% which os/2
os/2: Command not found.
No.
Maybe I failed to illustrate the relation I wanted to refer to (from the parent comment): "DOS apps open in DOSBox [...] Windows apps open via Wine and Mono apps are run with mono." Because OS/2 has .exe files too, I was just interested in what they were run with on a Linux system.
If your comment was a bit humoristic (like I intended mine to be), you could have added a ":-)" trigraph. :-)
(My ":-)" indicates that I do know that ":-)" is of course not a trigraph.)
RE[6]: Comment by merkoth
by sorpigal on Wed 20th Feb 2008 19:16
in reply to "RE[5]: Comment by merkoth"
RE[7]: Comment by merkoth
by Doc Pain on Wed 20th Feb 2008 19:48
in reply to "RE[6]: Comment by merkoth"
I'm afraid accurately detecting MS-DOS vs. Windows COFF magic is a bit complicated for me. Like I said, I did not care to learn it.
I think the mentioned file(1) utility does a good job here, so it may be sufficient to rely on it or on the respective database.
% file dos/defrag.exe
defrag.exe: MS-DOS executable (EXE)
% file win/regedit.exe
regedit.exe: MS-DOS executable (EXE), OS/2 or MS Windows
% file os2/tedit.exe
tedit.exe: MS-DOS executable (EXE), OS/2 or MS Windows







Member since:
2006-10-08
When I "just click them" the appropriate thing happens and they run. DOS apps open in DOSBox (I could have used dosemu, too, but dosbox was simpler), Windows apps open via Wine and Mono apps are run with mono.
What are OS/2 .exe files run with? :-)
Or you simply look at the system's magic database. :-)