I have the following code:
setlocal enabledelayedexpansion for /L %%i IN (1,1,5) do ( set /A is_echoing=0 if %%i==2 (set /A is_echoing=1) if %%i==