"continue" equivalent command in nested loop in Windows Batch
<p>I have a batch file which contains nested loop with <code>continue</code>-like command:</p>

<pre><code>for %%i in (1, 2, 4, 8, 16, 32, 64, 128, 256) do (
    for %%j in (1, 2, 4, 8, 16, 32, 64, 128, 256) do (
        if %%i gtr %%j goto CONTINUE
        test.exe 0 %%i %%j 100000 &gt; "%%i_%%j".txt
        :CONTINUE
        rem
    )
)
</code></pre>

<p>But when <code>if</code> statement is true for the first time, it does not iterate further. I only get text files upto <code>1_256.txt</code>. So it seems that <code>goto CONTINUE</code> has a problem. What is wrong with my batch file?</p>