COMT
COMT is a DOS utility developed by Alexander Pruss. It converts a COM file to one whose bytes all belong to a certain set of ASCII characters, and which still has the same functionality. It has features to make the file suitable for inclusion in an email, such as putting line breaks at regular intervals.
The original file can be recovered using the -x
option.
For some similar utilities, see Executable envelopes#Transfer-encoded executables.
Identification
(Only version 0.10d has been evaluated.)
COM files made using the default -3
option (3→4 encoding) apparently begin with ASCII "ENC.COM.B&F=
".
COM files made using the -1
option (1→2 encoding) apparently begin with ASCII "ENC.COM.BEG=
".
Text-wrapped files made using the -w
option begin with the text "This file has been encoded with the COMT encoder.
".
Software
- COMT v0.10d (DOS binary + source code)