[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How can I check (and run) if an *.exe is a DOS or a Windows program?



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...) terminated with that. Hilarity ensued when there was
stuff after that (DOS/Windows was very hilarious, for some value of
hilarious).

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


Reply to: