Exe2bin
The command-line tool exe2bin is a post-compilation utility program available on MS-DOS and other operating systems.
The command-line tool exe2bin is a post-compilation utility program available on MS-DOS and other operating systems. ==Overview== 1.10 Early compilers and linkers for the MS-DOS platform could not produce a COM file executable directly. Instead, the compilers would output an EXE-format file with relocation information. If all 8086 segments were set to be identical in such an EXE file (i.e. the "tiny" memory model was used), then exe2bin could convert it to a COM file. exe2bin could also be used to convert compiled code to make it suitable to be embedded in ROM as part of BIOS or a device driver. ==Availability== The command was included in MS-DOS versions 1 thru 3.1 as part of a standard distribution. For version 3.2, among the changes were the version included did not permit itself to run on any version except 3.2. For the next version, 3.3, there was no EXE2BIN on the DOS disk. "Instead, IBM sells the program separately, at an extra cost, with the DOS Technical Reference." IBM also added code to check the version. PC Magazine published a workaround: just patch it to work with 3.2 or higher. One way or the other, it was no longer available for the base price after 3.2; for version 6 it was on what was called the Supplemental Disk. The program was also distributed with many language compilers for MS-DOS in the 1980s, and included with certain versions of IBM PC DOS. PhysTechSoft & Paragon Technology Systems PTS-DOS, Digital Research DR DOS 6.0, and Datalight ROM-DOS, also include an implementation of the command. The command is also available in FreeDOS. This implementation is licensed under the Sybase Open Watcom Public License. Windows XP and later versions include exe2bin and other 16-bit commands (nonnative) for the MS-DOS subsystem to maintain MS-DOS compatibility. The 16-bit MS-DOS subsystem commands are not available on 64-bit editions of Windows. ==See also== List of DOS commands ==References== ==Further reading== ==External links== Exe2bin | Microsoft Docs comp.os.msdos.programmer FAQ Open source EXE2BIN implementation that comes with MS-DOS v2.0 Open source implementation of exe2bin that comes with FreeDOS
References
- ibiblio.org FreeDOS Group -- FreeDOS Base · retrieved 2026-11-17 · rev 1370539562
Cite this reference
MLA "ibiblio.org FreeDOS Group -- FreeDOS Base." "ibiblio. 2026-11-17. http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/repos/pkg-html/group-base.html. Accessed 24 November 2026.
Chicago "ibiblio.org FreeDOS Group -- FreeDOS Base." "ibiblio. 2026-11-17. http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/repos/pkg-html/group-base.html.
APA "ibiblio. (2026). ibiblio.org FreeDOS Group -- FreeDOS Base. Retrieved November 24, 2026, from http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/repos/pkg-html/group-base.html
- MS-DOS subsystem commands · retrieved 2026-11-17 · rev 1370539562
Cite this reference
MLA "MS-DOS subsystem commands." 2026-11-17. https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb490895(v=technet.10). Accessed 24 November 2026.
Chicago "MS-DOS subsystem commands." 2026-11-17. https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb490895(v=technet.10).
APA encyclopegia.org. (2026). MS-DOS subsystem commands. Retrieved November 24, 2026, from https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb490895(v=technet.10)
- Thank You, IBM · retrieved 2026-11-17 · rev 1370539562
Cite this reference
MLA "Thank You, IBM." Asael Dror (January 12, 1988). 2026-11-17. https://en.wikipedia.org/wiki/PC_Magazine. Accessed 24 November 2026.
Chicago "Thank You, IBM." Asael Dror (January 12, 1988). 2026-11-17. https://en.wikipedia.org/wiki/PC_Magazine.
APA Asael Dror (January 12, 1988). (2026). Thank You, IBM. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/PC_Magazine
- DEBUG .. E 30D 73 (from a compare/JZ to compare/JNB = greater than OR EQUAL TO 3.2) Wikipedia revision 1370539562, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1370539562
Cite this reference
MLA "DEBUG .. E 30D 73 (from a compare/JZ to compare/JNB = greater than OR EQUAL TO 3.2) Wikipedia revision 1370539562, retrieved 2026-11-18." DEBUG. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1370539562. Accessed 24 November 2026.
Chicago "DEBUG .. E 30D 73 (from a compare/JZ to compare/JNB = greater than OR EQUAL TO 3.2) Wikipedia revision 1370539562, retrieved 2026-11-18." DEBUG. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1370539562.
APA DEBUG. (2026). DEBUG .. E 30D 73 (from a compare/JZ to compare/JNB = greater than OR EQUAL TO 3.2) Wikipedia revision 1370539562, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1370539562
- PTS-DOS 2000 Pro User Manual · retrieved 2018-05-11 · rev 1370539562
Cite this reference
MLA "PTS-DOS 2000 Pro User Manual." "PTS-DOS 2000 Pro User Manual" (PDF). 2018-05-11. http://download.paragon-software.com/doc/manual_dos_eng.pdf. Accessed 24 November 2026.
Chicago "PTS-DOS 2000 Pro User Manual." "PTS-DOS 2000 Pro User Manual" (PDF). 2018-05-11. http://download.paragon-software.com/doc/manual_dos_eng.pdf.
APA "PTS-DOS 2000 Pro User Manual" (PDF). (2018). PTS-DOS 2000 Pro User Manual. Retrieved November 24, 2026, from http://download.paragon-software.com/doc/manual_dos_eng.pdf
- Datalight ROM-DOS User's Guide · retrieved 2026-11-17 · rev 1370539562
Cite this reference
MLA "Datalight ROM-DOS User's Guide." "Datalight ROM-DOS User's Guide" (PDF). 2026-11-17. https://www.datalight.com/assets/files/ROM-DOS_Users_Guide.pdf. Accessed 24 November 2026.
Chicago "Datalight ROM-DOS User's Guide." "Datalight ROM-DOS User's Guide" (PDF). 2026-11-17. https://www.datalight.com/assets/files/ROM-DOS_Users_Guide.pdf.
APA "Datalight ROM-DOS User's Guide" (PDF). (2026). Datalight ROM-DOS User's Guide. Retrieved November 24, 2026, from https://www.datalight.com/assets/files/ROM-DOS_Users_Guide.pdf
- The New Peter Norton Programmer's Guide to the IBM PC & PS/2 by Peter Norton and Richard Wilton (Microsoft Press, 1987) ISBN 1-55615-131-4 , p.425 Wikipedia revision 1370539562, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1370539562
Cite this reference
MLA "The New Peter Norton Programmer's Guide to the IBM PC & PS/2 by Peter Norton and Richard Wilton (Microsoft Press, 1987) ISBN 1-55615-131-4 , p.425 Wikipedia revision 1370539562, retrieved 2026-11-18." The New Peter Norton Programmer's Guide to the IBM PC & PS/2 by Peter Norton and Richard Wilton (Microsoft Press, 1987). 2026-11-17. https://en.wikipedia.org/wiki/ISBN_(identifier). Accessed 24 November 2026.
Chicago "The New Peter Norton Programmer's Guide to the IBM PC & PS/2 by Peter Norton and Richard Wilton (Microsoft Press, 1987) ISBN 1-55615-131-4 , p.425 Wikipedia revision 1370539562, retrieved 2026-11-18." The New Peter Norton Programmer's Guide to the IBM PC & PS/2 by Peter Norton and Richard Wilton (Microsoft Press, 1987). 2026-11-17. https://en.wikipedia.org/wiki/ISBN_(identifier).
APA The New Peter Norton Programmer's Guide to the IBM PC & PS/2 by Peter Norton and Richard Wilton (Microsoft Press, 1987). (2026). The New Peter Norton Programmer's Guide to the IBM PC & PS/2 by Peter Norton and Richard Wilton (Microsoft Press, 1987) ISBN 1-55615-131-4 , p.425 Wikipedia revision 1370539562, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/ISBN_(identifier)
- Microsoft DOS V1.1 and V2.0: /msdos/v20source/EXE2BIN.ASM · retrieved 2015-09-30 · rev 1370539562
Cite this reference
MLA "Microsoft DOS V1.1 and V2.0: /msdos/v20source/EXE2BIN.ASM." Paterson, Tim (2013-12-19) [1983]. 2015-09-30. https://en.wikipedia.org/wiki/Tim_Paterson. Accessed 24 November 2026.
Chicago "Microsoft DOS V1.1 and V2.0: /msdos/v20source/EXE2BIN.ASM." Paterson, Tim (2013-12-19) [1983]. 2015-09-30. https://en.wikipedia.org/wiki/Tim_Paterson.
APA Paterson, Tim (2013-12-19) [1983]. (2015). Microsoft DOS V1.1 and V2.0: /msdos/v20source/EXE2BIN.ASM. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Tim_Paterson
- Wolverton, Van (2003). Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition . Microsoft Press . ISBN 0-7356-1812-7 . Wikipedia revision 1370539562, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1370539562
Cite this reference
MLA "Wolverton, Van (2003). Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition . Microsoft Press . ISBN 0-7356-1812-7 . Wikipedia revision 1370539562, retrieved 2026-11-18." Wolverton, Van (2003). 2026-11-17. https://en.wikipedia.org/wiki/Microsoft_Press. Accessed 24 November 2026.
Chicago "Wolverton, Van (2003). Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition . Microsoft Press . ISBN 0-7356-1812-7 . Wikipedia revision 1370539562, retrieved 2026-11-18." Wolverton, Van (2003). 2026-11-17. https://en.wikipedia.org/wiki/Microsoft_Press.
APA Wolverton, Van (2003). (2026). Wolverton, Van (2003). Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition . Microsoft Press . ISBN 0-7356-1812-7 . Wikipedia revision 1370539562, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Microsoft_Press
- Microsoft MS-DOS early source code · retrieved 2015-09-30 · rev 1370539562
Cite this reference
MLA "Microsoft MS-DOS early source code." Shustek, Len (2014-03-24). 2015-09-30. https://www.computerhistory.org/atchm/microsoft-ms-dos-early-source-code/. Accessed 24 November 2026.
Chicago "Microsoft MS-DOS early source code." Shustek, Len (2014-03-24). 2015-09-30. https://www.computerhistory.org/atchm/microsoft-ms-dos-early-source-code/.
APA Shustek, Len (2014-03-24). (2015). Microsoft MS-DOS early source code. Retrieved November 24, 2026, from https://www.computerhistory.org/atchm/microsoft-ms-dos-early-source-code/
- DR DOS 6.0 User Guide Optimisation and Configuration Tips , 4corn.co.uk Wikipedia revision 1370539562, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1370539562
Cite this reference
MLA "DR DOS 6.0 User Guide Optimisation and Configuration Tips , 4corn.co.uk Wikipedia revision 1370539562, retrieved 2026-11-18." DR DOS 6. 2026-11-17. https://www.4corn.co.uk/archive/docs/DR%20DOS%206.0%20User%20Guide-opt.pdf. Accessed 24 November 2026.
Chicago "DR DOS 6.0 User Guide Optimisation and Configuration Tips , 4corn.co.uk Wikipedia revision 1370539562, retrieved 2026-11-18." DR DOS 6. 2026-11-17. https://www.4corn.co.uk/archive/docs/DR%20DOS%206.0%20User%20Guide-opt.pdf.
APA DR DOS 6. (2026). DR DOS 6.0 User Guide Optimisation and Configuration Tips , 4corn.co.uk Wikipedia revision 1370539562, retrieved 2026-11-18. Retrieved November 24, 2026, from https://www.4corn.co.uk/archive/docs/DR%20DOS%206.0%20User%20Guide-opt.pdf
Cite this article
MLA
"Exe2bin." encyclopegia.org, 2026, https://encyclopegia.org/wiki/exe2bin. Accessed 24 November 2026.
Chicago
"Exe2bin." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/exe2bin.
APA
encyclopegia.org. (2026). Exe2bin. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/exe2bin
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON