Microsoft KB Archive/67758

= PRB: MASM Err Msg: Unable to Open Input File: options.asm =

Article ID: 67758

Article Last Modified on 10/17/2003

-

APPLIES TO


 * Microsoft Macro Assembler 5.1 Standard Edition
 * Microsoft Macro Assembler 5.1a

-



This article was previously published under Q67758



SYMPTOMS
When running MASM.EXE, the following fatal error occurs:

Unable to open input file: options.asm



CAUSE
The MASM environment variable &quot;MASM&quot; is set to &quot;options&quot;.



RESOLUTION
To work around this problem, the environment variable needs to be cleared. This can be done as follows at the DOS command prompt: SET MASM=



MORE INFORMATION
When the RUNME program is executed to install MASM, it tells you to set your AUTOEXEC.BAT file as follows:   MOUSE                 (load mouse driver if you have a mouse) SET PATH=c:\masm... (directory containing MASM and utilities) SET INCLUDE=c:\masm...(directory containing include files) SET LIB=d:\masm.... (directory containing library &amp; object files) SET MASM=options     (standard assembly options) SET LINK=options     (standard link options) SET TMP=tempDir      (LINK work directory - use RAM disk if                          available) People often set their AUTOEXEC.BAT files literally as the program shows. The intent is to show that if you always want to assemble with options /Zi and /Mx and link with option /CO, you could use SET MASM=/Zi /Mx SET LINK=/CO to achieve this. When &quot;MASM&quot; is set to &quot;options&quot;, the driver is passed &quot;options&quot; and it is treated as a source file name, rather than an option, since it does not begin with a backslash (\).

Additional query words: 5.10 5.10a

Keywords: KB67758

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.