Share via


Output File Redirection

You can append the MS-DOS device names AUX, CON, PRN, and NUL to any alternate output-file options except for the /FAstring option. You can also direct the resulting files to your terminal or printer.

Note   There is no space between the option and the device name.

For instance, the following command line generates ARM assembly code for the Test.c file, and directs the output to the console:

CLARM /FaCON TEST.C

The following table shows the MS-DOS device names you can append to an option.

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

See Also

General-Purpose Compiler Options | File Alternatives

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.