Setting the CL Environment Variable (Windows CE 5.0)

Send Feedback

You can use the CL environment variable to specify files and options.

The command to set the CL environment variable has the following syntax:

SET CL=[[ [[option]] ... [[file]] ...]] [[/link [[ link-libinfo]] ]]

The CL environment variable is useful for specifying a large number of files and options.

The files and options you define with the CL environment variable do not have the MS-DOS 128-character limitation for the command line.

You can define the files and options you use most often with the CL variable and then give only the files and options you need for specific purposes on the command line.

If you give an option in the CL environment variable, you cannot turn off or change the option from the command line. You must reset the CL environment variable and omit the file or option that you do not want to use.

You can use wildcards in file names to specify multiple files with CL.

See Also

Compiler and Linker Build Options | Compiler Command Line Options | Environment Variables for CL.exe and Link.exe | Response Files

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.