In the following example, SET CONSOLE is used with SET ALTERNATE when creating a text file:

set console off

?

set alternate to RESULTS.TXT

// Generate text file

close alternate

set console on

After disabling output to the Command window, the ? command is used to help ensure that the output in the text file starts at the beginning of the line.