Batch file while loop

January 9, 2011 at 08:50:10
Specs: Windows XP\Vista
I was wondering if batch files have the ability to use a while loop. I know how to use the if and goto but was just wondering if they could.

See More: Batch file while loop

Report •

January 10, 2011 at 02:52:02
FOR /?

Happy is ONE who says I am an OttoMAN.

Report •

January 10, 2011 at 11:04:57

Report •

January 10, 2011 at 16:13:07
There is no while loop in batch:

For is a finite set loop structure, sometimes the exception is an infinite for loop that is breakable. Batch has an "infinite" loop but no way to break, so even simulating while isn't an option.

Recursion or goto I'm afraid :(.

Report •

Related Solutions

Ask Question