Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: How to play a Winboard tournament automatically?

Author: Rémi Coulom

Date: 23:27:05 04/19/99

Go up one level in this thread


On April 20, 1999 at 00:07:47, Rafael Villarroel wrote:

>   Since Winboard doesn't have built into itself the possibility
>of playing an engine tournament automatically, I wonder if
>somebody has been succesful in doing the same using batch files
>or some other utility. I haven't been able to do it myself.
>
>If a write just a series of commands in a batch file
>
>winboard <arguments>
>winboard <other arguments>
>winboard <etc...>
>
>I get several instances of winboard running simultaneously. If I
>put each command in a batch file, say 1.bat having
>winboard <arguments> as only line, 2.bat having
>winboard <other arguments> as only line, etc,
>then the batch, say main.bat, containing the lines
>
>call 1.bat
>call 2.bat
>call 3.bat
>
>seems to work at first, but when execution of the command
>of 1.bat is completed and the first instance of winboard closes, the
>DOS box doesn't recover focus automatically, and main.bat
>stops at the first line until I give focus to the DOS box again.
>
>Is there a way to execute this commands one after the other
>without intervention?
>
>I have seen some freeware scheduling utilities that could
>be useful, but one (Wincron) doesn't seem to allow to
>run a task immediately after closing the previous one, while
>another (Time Clock) allows one to do it, but doesn't read
>a text file as a task list.
>
>Thanks for any help
>
>Rafael Villarroel
>flores@math.umn.edu

I had the same problem, and I solved it thanks to a command line option of the
start command. I unfortunately do not have a Windows machine here, but if you
type "start /?" or "start /help" at the command prompt, it will give you the
option you need (thanks to Tim Mann for giving me this tip). Then you simply run
winboard by invoking "start /magic-option winboard ...".

Remi



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.