Yep, that don't work in win9x.
a more bothersame method is this:
code:
@echo off >NULL
set n=%1
set i=
:loop
set i=%i%!
echo Running automated turn number %counter% now.
Gamepath\Se4.exe "Game" "password" "0" "modname"
if %i%==%n% goto ****
goto loop
ut
and then start it with test !!!!!!!!!!!!!!!!!!
and one ! for each loop, not good for long loops, in that case there are two ways.
One is to use nestled loops as that one above, for example a H for hundreds a T for tens and a ! for ones, ie
running a loop 134 times would call the batch file:
test HTT!!!
and then you make three loops within each other.
A better way if you have the FIND.EXE command on your computer is to make a new line in a temporary counter file for each loop turn and then count the lines with the FIND command, redoing the loop until the number of lines matches the parameter sent with the command line.
[ April 11, 2004, 11:26: Message edited by: Ruatha ]