Discussion forum for all Windows batch related topics.
If you mean Infinite [FOR /L] loop with break condition, at quick reading the suggested solutions look too complex for my above task, and alternatively FINDSTR is slow in loops. Though this approach with the :WHILE function or that "restart the batch" one look promising. Also it shows, the way to create an infinite FOR /L loop is leave the count numbers undefined inside () parentheses, but the "increment the limit" task complicates things. May be setting a fixed end limit, or using infamous GOTO to simplify things and keep an eye on the batch ball would suffice.