EXE2BIN Error Messages (94586)



The information in this article applies to:

  • Microsoft Macro Assembler (MASM) 5.0
  • Microsoft Macro Assembler (MASM) 5.1
  • Microsoft Macro Assembler (MASM) 5.1a
  • Microsoft Macro Assembler (MASM) 6.0
  • Microsoft Macro Assembler (MASM) 6.0a
  • Microsoft Macro Assembler (MASM) 6.0b
  • Microsoft Macro Assembler (MASM) 6.1
  • Microsoft Macro Assembler (MASM) 6.1a
  • Microsoft Macro Assembler (MASM) 6.11

This article was previously published under Q94586

SUMMARY

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.

Modification Type:MajorLast Reviewed:10/22/2003
Keywords:KB94586