For loop and multiple labels in batch script
问题 I am trying to implement a use case: Where I want to refresh series of reports , with each report when failed should attempt to run again and then send out a email notification. I have below issues which needs help: In the below code if my first command (cmd[0]) is success , I don't want to execute :erroremail section , but just go run the second command (cmd[1]) instead from the loop. How can I achieve this? Basically when my for loop completes (when all my commands are executed) I don't