EXE2BIN: Create .com Files
exe2bin converts .exe files to .com files. .com files are 16 bit MSDOS executables that have no MZ file header or relocation data in them. They are limited to small memory model code, 64K bytes in size, and cannot have relocation fixups.
Commands have the following format:
exe2bin file.exe file.com
The extensions in the file names are required; exe2bin does not provide defaults.
For example, to create a .com program from the executable file hello.exe:
exe2bin hello.exe hello.com
exe2bin cannot do the conversion if the input .exe file contains relocation fixups or has more than 64k of code and data.