How do I make something loop 10 times then continue in batch? -
in batch, want run 10 times , goto continue.
how this?
here's 1 approach:
@echo off setlocal enabledelayedexpansion echo before set i=0 :loop1 echo 10 times set /a i+=1 if !i!==10 goto continue goto loop1 :continue echo after exit /b 0
Comments
Post a Comment