Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SET ALTERNATE Command
Collapse the table of content
Expand the table of content

SET ALTERNATE Command

Visual Studio .NET 2003

Directs screen or printer output created with ?, ??, DISPLAY, or LIST to a text file.

SET ALTERNATE ON | OFF
-or-
SET ALTERNATE TO [FileName [ADDITIVE]]

Parameters

ON
Directs output to the text file.
OFF
(Default) Disables output to the text file.
TO FileName
Creates the text file, which is assigned the default extension .txt unless you include a different extension with the file name.

If you use SET ALTERNATE TO without FileName, the last file you created using SET ALTERNATE TO FileName is closed.

ADDITIVE
Appends output to the end of the file specified with FileName. If you omit ADDITIVE, the contents of the file are overwritten.

See Also

CLOSE | SET PRINTER | ACTIVATE SCREEN Command

Show:
© 2015 Microsoft