Computing.Net > Forums > Programming > batch file repeat

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

batch file repeat

Reply to Message Icon

Name: djas
Date: September 22, 2004 at 09:41:29 Pacific
OS: Windows XP/Longhorn GUI
CPU/Ram: n/a
Comment:

is there a command that allows you to repeat a command a certain amout of times before exiting
thanx

djas



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: September 23, 2004 at 00:39:07 Pacific
Reply:

Hi,

Yes.

for in do

M2

Mechanix2Go@Golden-Triangle.com



0

Response Number 2
Name: djas
Date: September 23, 2004 at 09:07:33 Pacific
Reply:

ok
say i wanted to keep going back to a label 5 times but after that exit instead of being in a continuous loop.

:loop
echo hello
goto loop

like that but only 5 times then quit
thanx

djas


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: batch file repeat

batch file xcopy help! www.computing.net/answers/programming/batch-file-xcopy-help/7328.html

Need Help with DOS batch file .. www.computing.net/answers/programming/need-help-with-dos-batch-file-/12751.html

batch File www.computing.net/answers/programming/batch-file/4840.html