SET /a VAR=0 :HOME SET /a VAR=VAR+1 rem 1000 runs in local debug mode server is about 6 hours at current test pace with huge data IF %VAR%==500 goto :End dotnet test goto :HOME :End