C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Output Device Names
                                             Up Contents Index Back
─────C/C++ Compiler─────────────────────────────────────────────────────────
 
     By appending device names to the listing options, with no
     intervening space, you can direct listing files to your terminal or
     printer.
 
     Name    Device
 
     AUX     Refers to an auxiliary device
     CON     Refers to the console (terminal)
     PRN     Refers to the printer device
     NUL     No file is created
 
     You can add device designations or filename extensions to these
     filenames. They remain associated with the devices. When using
     these device names, do not append a colon (that is, use CON, not
     CON:).
 
     The following command line generates assembler code for TEST.C and
     directs the output to the console:
 
         CL /FaCON TEST.C
                                    -♦-