#1. Start an UCI engine from the command line.
#2. Paste (type) a position, for example
Code: Select all
position fen r1bk1n1r/pp1n1q1p/2p2p1R/3p4/3PpN2/2NB2Q1/PPP2PP1/2K1R3 w - -
And the position is analysed for one second. So far so good.
But what I want is to automate this in one call either from the command line or batch file.
. Komodo position fen r1bk1n1r/pp1n1q1p/2p2p1R/3p4/3PpN2/2NB2Q1/PPP2PP1/2K1R3 w - - go movetime 1000
. Komodo go movetime 1000 position fen r1bk1n1r/pp1n1q1p/2p2p1R/3p4/3PpN2/2NB2Q1/PPP2PP1/2K1R3 w - -
Neither of them work, but I know it somehow is possible because I have done it before, I just forgot.