KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q61790: A1022 Error If Include Environment Variable Is Not Set

Article: Q61790
Product(s): See article
Version(s): 2.51
Operating System(s): MS-DOS
Keyword(s): ENDUSER | buglist2.51 | mspl13_masm
Last Modified: 11-MAY-1990

In QuickC with QuickAssembler version 2.51, when using QCL.EXE to
compile assembly language programs, if the INCLUDE environment
variable is not set, the following error is generated:

   command line fatal error A1022: source file name not specified

This problem does not occur in the QuickC with QuickAssembler
environment (QC.EXE) or with QuickC with QuickAssembler version 2.01.

Microsoft has confirmed this to be a problem with QuickAssembler
version 2.51. We are researching this problem and will post new
information here as it becomes available.

The following DOS commands reproduce the "A1022: source file name not
specified" error:

   SET INCLUDE=
   QCL test.asm

To compile programs successfully, set the INCLUDE environment variable
to the QuickC with QuickAssembler INCLUDE directory; for example, SET
INCLUDE=D:\QCQA\INCLUDE.

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.