The Microsoft EXE File Header Utility (EXEHDR) version 2.02 displays the contents of an executable-file header and can be used to alter some fields in the header. You can display or alter headers of DOS programs and segmented executable files (applications or DLLs). Some header fields have a different meaning in a Windows file; see your Windows documentation for more information. Examples of EXEHDR usage include:
Determining whether a file is an application or a dynamic-link library (DLL).
Viewing the attributes set by the module-definition file.
Viewing the number and size of code and data segments.
Setting a new stack allocation.
Many of the header fields contain information that was set in the module-definition file or as input options when the LINK utility created the file. This
chapter assumes you are familiar with LINK and module-definition files. For
information about LINK, see Chapter 14. For information about module-definition (.DEF) files, see Chapter 16. Many of the terms and keywords used
in this section are explained in these chapters.