EXE2BIN Error Messages

Last reviewed: January 23, 1995
Article ID: Q94586
The information in this article applies to:
  • Microsoft Macro Assembler for MS-DOS, versions 5.0, 5.1, 5.1a, 6.0, 6.0a, 6.0b, 6.1, 6.1a, and 6.11

The following table of EXE2BIN errors is adapted from "The MS-DOS Encyclopedia" (Microsoft Press). Even though EXE2BIN is provided with MS-DOS, it is often used during the process of building an application with the Microsoft Macro Assembler (MASM).

Error: File cannot be converted Cause: The program to be converted has one of the following problems:

        - The program has an origin of 0100h but a different entry point.
        - The program requires segment fixups.
        - The program code and data are larger than 64 KB.
        - The program has more than one declared segment
        - The file is not a valid .EXE-format file.

Error: File creation error Cause: EXE2BIN cannot create the output file for one of the following
       reasons:
        - A read-only file with the same name already exists
        - The specified directory is full
        - The specified disk is full, write-protected, or unreadable.

Error: File not found Cause: The file does not exist or the incorrect path was given.

Error: Fixups needed - base segment (hex): Cause: The .EXE-format file contains segment references that would

       ordinarily be relocated by the .EXE file loader. Specify the
       absolute segment address at which the converted module will be
       executed.

Error: Incorrect DOS version Cause: The version of EXE2BIN is not compatible with the version of MS-DOS
       that is running.

Error: Insufficient disk space Cause: The destination disk has insufficient space to create the memory-
       image output file.

Error: Insufficient memory Cause: Not enough memory is available to run EXE2BIN.

Error: WARNING - Read error in EXE file. Amount read less than size in

       header.
Cause: The file size given in the .EXE header is inconsistent with the
       actual size of the file.


Additional reference words: kbinf 5.00 5.10 5.10A 6.00 6.00A 6.00B 6.10
KBCategory: kbref
KBSubcategory: TlsMisc


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 23, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.