Microsoft KB Archive/40429

= Using a Response File with Microsoft LINK =

Article ID: 40429

Article Last Modified on 9/30/2003

-

APPLIES TO


 * 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

-



This article was previously published under Q40429



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 query words: 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

Keywords: kb16bitonly KB40429

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.