/OUTPUT, Fname, Ext, --, Loc
Redirects text output to a file or to the screen.

Compatible Products: – | Pro | Premium | Enterprise | Ent PP | Ent Solver | DYNA


Filename and directory path (248 character maximum, including directory) to which text output will be redirected (defaults to Jobname if Ext is specified). For interactive runs, Fname = TERM (or blank) redirects output to the screen. For batch runs, Fname = blank (with all remaining command arguments blank) redirects output to the default system output file.


Filename extension (eight-character maximum).


Unused field.


Location within a file to which output will be written:



Output is written starting at the top of the file (default).



Output is appended to the existing file.

Command Default

Text output is written to the screen for interactive runs and to the system output file for batch runs (see the Basic Analysis Guide).


Text output includes responses to every command and GUI function, notes, warnings, errors, and other informational messages. Upon execution of /OUTPUT,Fname, Ext, ..., all subsequent text output is redirected to the file Fname.Ext. To redirect output back to the default location, issue /OUTPUT (no arguments).

Note:  When using the GUI, output from list operations [NLIST, DLIST, etc.] is always sent to a list window regardless of the /OUTPUT setting. The output can then be saved on a file or copied to the /OUTPUT location using the File menu in the list window.

This command is valid in any processor.

Menu Paths

Utility Menu>File>Switch Output to>File
Utility Menu>File>Switch Output to>Output Window

Release 18.2 - © ANSYS, Inc. All rights reserved.