Code: Select all
@echo off
for /l %%a in (1;1;10000) do (
goto :break_for1
)
:break_for1
echo this was fast
for /l %%a in (1;1;2147483) do (
goto :break_for2
)
:break_for2
echo this was slow
for /l %%a in (1;1;2147483647) do (
goto :break_for3
)
:break_for3
echo this never ends
I've take a glance on this thread -> viewtopic.php?f=3&t=3758 but nothing like that is mentioned there.
(This is tested on Win 8x64 . May be it's worth to test a big text file processing with FOR /F too ?)