Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- setlocal enabledelayedexpansion
- echo name,win score > simresults\deck_results.csv
- for /F "tokens=1" %%G in ('type testdecks.txt') do (
- tuo %%G /^GT126k/ sim 10000 > simresults\%%G_sim.txt 2>&1
- for /F "tokens=1,2" %%R in ('type simresults\%%G_sim.txt') do (
- set _tmp=%%R
- set _tmp2=! _tmp:~0,3 !
- if ! _tmp2 ! == win ( echo %%G,%%S >> simresults\deck_results.csv )
- )
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement