Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • Sorry didnt work, loaded notepad, batch stopped, so I quite notepad and it close the batch Commented May 11, 2011 at 19:54
  • My apologies, I had the label syntax backwards. A label is :loop as now shown above (I edited my answer). Commented May 11, 2011 at 19:56
  • Thats it, should of spotted the typo myself! Commented May 11, 2011 at 19:56
  • Can you make it wait 5 seconds and then loop? Commented May 11, 2011 at 19:57
  • @James: There are several techniques for doing that here: stackoverflow.com/questions/348849/pause-in-batch-file. Commented May 11, 2011 at 19:58