13.3 CL Options

Options to the CL command consist of either a forward slash (/) or a dash () followed by one or more letters. Certain CL options take arguments; in some of these options, a space is required between the option and the argument; in others, no space is allowed. The spacing rules for the options are given in their descriptions.

Note:

CL options (except for the /HELP option) are case sensitive. For example, /C and /c are different options.

Except for /f, /qc, and /Oq, options can appear anywhere on the CL command line—these three must appear first. With two exceptions (/c, /Fe), each CL option applies to the files that follow it on the command line and does not affect files preceding it on the command line.

You can also define CL options in the CL environment variable; these options are used every time you invoke CL. See “Specifying Options with the CL Environment Variable”.

The remainder of this section describes all the CL options in alphabetical order. If an option can take one or more arguments, its format is shown under an “Option” heading before its description.