for /l %%a in (1,1,5) do (
for /l %%b in (1,1,5) do (
for /l %%c in (1,1,5) do (
if %%c == 3 goto end
)
:end
)
)
I expected this code to break from that %%c loop and go inside %%b loop, but my program ended up closing unexpectedly. Can I now the cause of this? or other better way to do this?