Response Files
A response file is an ASCII file that contains options and file names, just as the command line and the CL environment variable contain options and file names. Unlike the command line or CL environment variable, however, a response file allows you to use multiple lines of options and file names.
The compiler interprets options in the response file as if the options were present on the command line. For more information about how to set options this way, see Compiler Command Line Options. If /link - Linker-Control Options appears in the response file, all options on the rest of the line are passed to the linker. The compiler also accepts additional options on the command line after the response file invocation.
The compiler accepts a response file as an argument on the command line. To invoke a response file, type the at symbol (@) followed immediately by a file name; you can also specify a drive and path. You cannot invoke a response file in the CL environment-variable string or in another response file.
See Also
Compiler Setup Mechanisms | Compiler Command Line Options | CL Environment Variable
Last updated on Thursday, April 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.