On Sat, 7 Jan 2023 at 22:34, Ottavio Caruso
wrote:
> I have a few DOS/Windows abandonware that I'd like to check but I only
> want the DOS ones, because Wine on my installation is a total pain.
[...]
> $ file test2/sm/SM.EXE
> test2/sm/SM.EXE: MS-DOS executable, MZ for MS-DOS
> Which makes me
On Sat, 7 Jan 2023 11:33:44 +, Ottavio Caruso
wrote:
> GROUPS.2 QWORDS.SM SM.EXE SM.OVR
> GROUPS.SM README.1STSMHOME.HLP SM.PIF
> HAMWORDS.SMREGWORDS.SM SM.ICO SMRADIO.HLP
>
I do not have 16 bit Windows executables at hand for testing, so
On Sat, Jan 07, 2023 at 11:33:44AM +, 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)
On Sat, Jan 7, 2023 at 6:43 PM Miguel A. Vallejo wrote:
>
> If I remember correctly, all Windows EXE have an string saying:
>
> This program cannot be run in DOS mode.
A couple of small nits...
They are called PE/PE+ programs. The string "This program cannot be
run in DOS mode" is called the
On Sat Jan 7 17:34:05 2023 wrote:
> On Sat, Jan 07, 2023 at 08:47:09AM -0500, Jude DaShiell wrote:
>
>> If I remember correctly, dos and windows .com and .exe programs
>> all have control-z as their first character. The file command
>> may also help.
>
> No. Control-Z (aka 0x1a) was an EOF
If I remember correctly, all Windows EXE have an string saying:
This program cannot be run in DOS mode.
It is displayed when loaded under MS-DOS, so it should be easy to
identify an EXE for DOS from an EXE for Windows.
To run it, dosbox should work.
Greetings
On 1/7/23 13:33, Ottavio Caruso wrote:
I have a few DOS/Windows abandonware that I'd like to check but I only
want the DOS ones, because Wine on my installation is a total pain.
For example:
$ file test2/sm416.exe
test2/sm416.exe: Zip archive data, made by v2.0, extract using at least
v2.0,
On Sat, Jan 07, 2023 at 08:47:09AM -0500, Jude DaShiell wrote:
> If I remember correctly, dos and windows .com and .exe programs all have
> control-z as their first character. The file command may also help.
No. Control-Z (aka 0x1a) was an EOF character under DOS. Files were
(sometimes...)
On Sat, Jan 07, 2023 at 02:42:38PM +, Ottavio Caruso wrote:
> Am 07/01/2023 um 12:13 schrieb Timothy M Butterworth:
> > All .exe files are windows, linux does not use .exe! You can run Windows
> > applications on Linux using: WINE, CrossOver Office or Steam Proton. I
> > recommend CrossOver
On Sat, 2023-01-07 at 08:47 -0500, Jude DaShiell wrote:
> If I remember correctly, dos and windows .com and .exe programs all have
> control-z as their first character. The file command may also help.
If I remember correctly, COM files have no header, the first byte is
the first machine code
As far as I know, you can look into the file with a hexeditor (maybe any other
editor should do it, too).
In the first line is written, which OS is required.
However, there could be anything written, but in most cases it is set
correctly. Please do not blame me, if I am wrong, but I blieve,
If I remember correctly, dos and windows .com and .exe programs all have
control-z as their first character. The file command may also help.
Jude "There are four boxes to be used in
defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Am 07.01.2023 um 13:40 schrieb The Wanderer:
> On 2023-01-07 at 07:13, Timothy M Butterworth wrote:
>
>> All .exe files are windows, linux does not use .exe!
>
> While the latter statement is (largely) correct, the former is not.
> Some .exe files
On 2023-01-07 at 07:13, Timothy M Butterworth wrote:
> All .exe files are windows, linux does not use .exe!
While the latter statement is (largely) correct, the former is not. Some
.exe files are DOS programs, not Windows programs.
The question being asked is how to tell which type a given EXE
All .exe files are windows, linux does not use .exe! You can run Windows
applications on Linux using: WINE, CrossOver Office or Steam Proton. I
recommend CrossOver Office, I use it to play windows games on Linux.
--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀
Inspect the files with strings and pipe the output to less.
Jude "There are four boxes to be used in
defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
.
16 matches
Mail list logo