Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
JScript
JScript Reference
 @ (Specify Response File)

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
JScript 8.0
@ (Specify Response File)

Specifies a response file.

@response_file
response_file

A file that lists compiler options or source code files to compile.

The @ option lets you specify a file that contains compiler options and source code files to compile. These compiler options and source code files will be processed by the compiler just as if set out on the command line.

To specify more than one response file in a compilation, specify multiple response file options. For example:

@file1.rsp @file2.rsp

In a response file, multiple compiler options and source code files can appear on one line. A single compiler option specification must appear on one line (cannot span multiple lines).

Response files can have comments that begin with the # symbol.

Specifying compiler options from within a response file is just like making those commands on the command line. For more information, see Building from the Command Line.

The compiler processes command options as they are encountered, just as if set out on the command line. Therefore, the options in one response file may be incompatible with the options in another response file or the command line options. This can generate errors.

Response files cannot be nested. You cannot place @response_file inside a response file. The JScript compiler reports an error for such cases. 

The following are a few lines from a sample response file:

# build the first output file
/target:exe /out:MyExe.exe source1.js source2.js

Other Resources

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker