Computer Chess Club Archives


Search

Terms

Messages

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

Author: Rafael Villarroel

Date: 12:02:04 04/20/99

Go up one level in this thread


On April 20, 1999 at 14:01:46, James Robertson wrote:

>On April 20, 1999 at 02:27:05, Rémi Coulom wrote:
>
>>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
>
>I get the error "Unable to find file 'start' (or one of it's components). Make
>sure the path and filename are correct and that all libraries are available."
>
>This is with my WinNT at work. Will Win95 give the same error, or will it work?
>
>James

Thanks Remi!
It works on my Win95 machine. I asked the same question on the
alt.msdos.batch newsgroup, and this is one of the answers I received
Rafael

This requires the standard START.EXE utility.  Type START/? at a command
prompt.  What you need is something like ...

  start /w winboard <arguments>
  start /w winboard <other arguments>
  start /w winboard <etc...>

Tom Lavedas
-----------
http://www.pressroom.com/~tglbatch/



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.