KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q62217: EXEHDR.EXE Switch Omissions in 7.00/7.10 Manual

Article: Q62217
Product(s): See article
Version(s): 7.00 7.10 | 7.00 7.10
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER | SR# S900517-206 docerr | mspl13_basic
Last Modified: 15-JAN-1991

The EXEHDR documentation on page 347 of the "Microsoft CodeView and
Utilities User's Guide" for Microsoft BASIC Professional Development
System (PDS) versions 7.00 and 7.10 mentions only the /v (verbose)
option and omits many additional EXEHDR options. This manual also
unnecessarily documents the EXEMOD utility (on pages 307-311), which
is an older version of EXEHDR. EXEMOD is not shipped with BASIC PDS
7.00 or 7.10 because EXEHDR contains all of EXEMOD's functionality.

This information applies to Microsoft BASIC PDS versions 7.00 and 7.10
for MS-DOS and MS OS/2.

The full list of EXEHDR options can be displayed by typing EXEHDR /?
at the DOS prompt. The options are as follows:

   Usage: EXEHDR [options] <file-list>
   Valid options are:

      /?
      /HEAP:(0H - ffffH)
      /HELP
      /MAX:(0H - ffffH)
      /MIN:(0H - ffffH)
      /NEWFILES
      /NOLOGO
      /PMTYPE:(PM | VIO | NOVIO | WINDOWAPI |
                  WINDOWCOMPAT | NOTWINDOWCOMPAT)
      /RESETERROR
      /STACK:(0H - ffffH)
      /VERBOSE

Note: The hex values are listed in assembly notation (for example,
ffffH). Hex values should actually be input with C notation using the
"0x" prefix instead of the "H" suffix (for example, ffffH -> 0xffff).
The values can also be entered in decimal notation without prefixes or
suffixes.

If the assembler notation for hex values is used with EXEHDR, the
following errors will occur:

   EXEHDR: error U1110: malformed number FFFFH
   EXEHDR: error U1115: option /MAX:FFFFH ignored

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.

Copyright Microsoft Corporation 1986-2002.