Using a Response File with Microsoft LINK

Last reviewed: July 17, 1997
Article ID: Q40429
3.x 5.01.20 5.01.21 5.03 5.05 5.10 5.13 5.15 5.30 5.31.009 5.50 5.60 MS-DOS kbtool

The information in this article applies to:

  • Microsoft LINK for MS-DOS, versions 3.x, 5.01.20, 5.01.21, 5.03, 5.05, 5.1, 5.13, 5.15, 5.3, 5.31.009, 5.5, and 5.6

SUMMARY

A Microsoft LINK response file contains responses to the prompts that the LINK utility displays. The responses must be in the same order as the LINK prompts.

LINK interprets the lines in the response file as if they were typed as responses to the prompts or on the command line. A carriage return-linefeed (CR-LF) combination in the response file corresponds to pressing the ENTER key in response to a prompt or including a comma on the command line.

Note: A response file cannot contain any comments.

MORE INFORMATION

The following response file example links modules MOD1.OBJ and MOD2.OBJ to create an application called MODX.EXE. The linker creates MODM.MAP as a map file, uses the LLIBCEW.LIB and OLDNAMES.LIB libraries, the NODEFAULTLIBRARYSEARCH and NOEXTDICTIONARY options, and the PROJ.DEF module- definition file.

Sample File

mod1 mod2 modx modm llibcew oldnames /NOD /NOE proj.def

To use this sample file named RESPONSE.ONE, type the following at the command line:

   link @response.one


Additional reference words: kbinf kbinf 3.x 5.01.20 5.01.21 5.03 5.05 5.10
5.13
5.15 5.30 5.31.009 5.50 5.60
KBCategory: kbtool
KBSubcategory: LinkIss
Keywords : kb16bitonly


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