BUG: The Command "ml /?" Causes Unexpected Errors

Last reviewed: December 7, 1994
Article ID: Q123663
The information in this article applies to:
  • Microsoft Macro Assembler for MS-DOS, versions 6.1 and 6.11
  • Microsoft Macro Assembler for Windows NT, version 6.11

SYMPTOMS

With MASM version 6.1, if a one-character subdirectory name exists in the root directory, the command "ml /?" results in this error:

   fatal error A1006 invalid command line option /A

Here A is the one-character subdirectory name.

With MASM version 6.11, the same situation results in this error message:

   warning A4007: option untranslated, directive required : /A
   fatal error A1017: missing source filename

CAUSE

ML.EXE interprets the slash (/) as if it were a backslash (\) and interprets the question mark (?) as a wildcard. The one-character subdirectory off the root directory is a match for \?. This confuses the assembler/compiler, causing it to interpret the result as the switch /A.

RESOLUTION

To work around the problem, use this command:

   ml -?

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional reference words: 6.10 6.11 buglist6.10 buglist6.11
KBCategory: kbtool kbbuglist
KBSubcategory: MLIss


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: December 7, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.