How to repeat a batch file command

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
theDisgruntledTech
Posts: 1
Joined: 06 Feb 2014 15:55

How to repeat a batch file command

#1 Post by theDisgruntledTech » 06 Feb 2014 16:26

I am writing a batch file that I need to have a command line repeat an X amount of times before closing out the web browser and the console. What is the best way to have a command line repeat.

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: How to repeat a batch file command

#2 Post by foxidrive » 06 Feb 2014 20:47

for /L

Post Reply