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

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -