Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.