Device Names for Windows

HomeOverviewHow Do ICompiler Options

You can append the device names AUX, CON, PRN, and NUL to the output-file options to direct the output file to the named device. No space is allowed between the option and the device name. Do not append a colon (:) to the device name. The device names and their behavior are shown in the following table.

Device name Result
AUX The listing file is sent to an auxiliary device.
CON The listing file is sent to the console.
PRN The listing file is sent to a printer.
NUL No file is created.

Example

In the following example, appending PRN to /Fm sends a map file to the printer:

CL /FmPRN HELLO.CPP