KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q62375: Fatal /nologo and /e Switch Interaction

Article: Q62375
Product(s): See article
Version(s): 1.20   | 1.20
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER | buglist1.20 | mspl13_basic
Last Modified: 22-JUN-1990

Using the /nologo switch in conjunction with /e switch can cause ILINK
version 1.20 to fail. The problem will occur when an incremental link
cannot be performed and the command specified by the /e switch is
performed instead. If the /e switch is preceded anywhere on the
command line by /nologo, then the link will fail.

For example, the following command line

    ILINK /nologo /e "link hello;" hello.exe

where hello.obj exists but hello.exe doesn't, will produce the
following messages:

   Microsoft (R) Segmented-Executable Linker  Version 5.10
   Copyright (C) Microsoft Corp 1984-1990.  All rights reserved.

   LINK : fatal error L1089:  : cannot open response file
   ILINK : warning L4252: file '/e.exe' does not exist
   ILINK : performing full link
   ILINK : fatal error L1233: 'link' returned 2

Placing the /nologo switch after the /e switch on the command line
will alleviate the problem.

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

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.