Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Redirecting output to file *and* screen (o.t.)

Author: Jeremiah Penery

Date: 16:19:15 09/25/03

Go up one level in this thread


On September 25, 2003 at 18:32:05, Omid David Tabibi wrote:

>Under UNIX, one can use the command "script" to store the output to a file,
>while displaying it on the screen at the same time.
>
>In Windows, the ">" operator is used to redirect output to file, e.g.:
>
>c:\> epd2wb falcon.exe lct2.epd 600 > output.txt
>
>But when doing so, the output is not displayed on the screen anymore. Is there
>any way to redirect the output to a file and to screen at the same time
>(something like "script" in UNIX)?

There is no native way to do it, but you can download some program that mimics
one of the *nix commands to do it (tee, script, whatever).

This page has a bunch of ported *nix commands you can download and use in
Windows:  http://www.csc.calpoly.edu/~bfriesen/software/console.shtml
Tee is included there, which will do what you want.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.