|
| KiXtart Command Reference |
REDIRECTOUTPUTactionAllows you to redirect all screen output to a file. syntaxREDIRECTOUTPUT ("file name", overwrite) parametersFile name A string that names the file to which to redirect the output. If this parameter is an empty string (""), output is redirected to the screen. Overwrite Optional numeric value indicating whether to clear the output file before writing any data to it. This parameter can have the following values:
remarksIf all output is redirected to a file, the AT, BIG, BOX, and CLS commands are ignored. returns
exampleIF RedirectOutput("logon.log") = 0 ? "Opened 'logon.log' at " + @TIME ? ENDIF |