On Sat, Jan 07, 2023 at 11:33:44AM +0000, Ottavio Caruso wrote:
$ file test2/sm/SM.EXE
test2/sm/SM.EXE: MS-DOS executable, MZ for MS-DOS
Which makes me think it's DOS but it could be a false positive.
Nope, that's it. If it was windows it would say something like
"PE32+ executable (GUI) x86-64 (stripped to external PDB), for MS Windows"
the keywords being "PE" and "for MS Windows". 32 bit programs would be
"PE32" rather than "PE32+".
If you're running an ancient executable for an ancient (16bit) version
of windows it would show up as something like
"MS-DOS executable, NE for MS Windows (3.0)"