Usage: %1!s! mode= { open name= | append name = | close } Parameters: Tag Value mode - One of the following values: open: ...

Usage: %1!s! [ mode= ] { open [ name= ]  | append [ name = ]   | close }  Parameters:         Tag        Value         mode     - One of the following values:                   open: Creates a new file or overwrites an existing file and                          streams the console output to the file                    append: Opens an existing file and streams the console                            output to the end of the existing file                    close: Stops streaming and closes a file         name     - Name of the file (full path optional) Remarks:        Copy the console output to a file. Example:        %1!s! open c:\logfiles\logfile.txt         The above command creates a file and logs all output to it.