KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Article: Q67482
Product(s): See article
Version(s): 1.00
Operating System(s): MS-DOS
Keyword(s): ENDUSER | buglist1.00 fixlist1.10 fixlist1.11 s_c s_link s_pwb | mspl13_basic
Last Modified: 14-DEC-1990

During a build inside the Programmer's WorkBench (PWB) (using PWB.COM)
or while using NMK.COM from the command line, the build operation
returns successfully but no .EXE file is created.

This problem may be caused by an incorrectly set COMSPEC environment
variable. If the COMSPEC environment variable contains any extra
characters, NMK.COM fails to properly spawn the linker. This affects
the PWB as well because, under DOS, PWB.COM spawns the build commands
the same way as NMK.COM. Two examples of COMSPEC environment variables
that cause this problem are shown in the following:

   COMSPEC=C:\COMMAND.COM /E:512 /P
   COMSPEC=C:\COMMAND.COM;

Microsoft has confirmed this to be a problem in PWB.COM version 1.00
and NMK.COM version 1.00. This problem was corrected in PWB.COM
version 1.10 and NMK.COM version 1.11.

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.