Using a Response File with Microsoft LINK

This article was previously published under Q40429
This article has been archived. It is offered "as is" and will no longer be updated.
SUMMARY
A Microsoft LINK response file contains responses to the prompts that theLINK utility displays. The responses must be in the same order as the LINKprompts.

LINK interprets the lines in the response file as if they were typed asresponses to the prompts or on the command line. A carriage return-linefeed(CR-LF) combination in the response file corresponds to pressing the ENTERkey 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 tocreate an application called MODX.EXE. The linker creates MODM.MAP as a mapfile, uses the LLIBCEW.LIB and OLDNAMES.LIB libraries, theNODEFAULTLIBRARYSEARCH 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 thecommand line:
link @response.one
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
Properties

Article ID: 40429 - Last Review: 01/10/2015 10:53:09 - Revision: 2.0

  • Microsoft LINK for MS-DOS 3.x
  • Microsoft LINK for MS-DOS 5.01.20
  • Microsoft LINK for MS-DOS 5.01.21
  • Microsoft LINK for MS-DOS 5.03
  • Microsoft LINK for MS-DOS 5.05
  • Microsoft LINK for MS-DOS 5.1
  • Microsoft LINK for MS-DOS 5.13
  • Microsoft LINK for MS-DOS 5.15
  • Microsoft LINK for MS-DOS 5.3
  • Microsoft LINK for MS-DOS 5.31.009
  • Microsoft LINK for MS-DOS 5.5
  • Microsoft LINK for MS-DOS 5.6
  • kbnosurvey kbarchive kb16bitonly KB40429
Feedback