Branching in VBScript allows you to tell the script to execute some lines of code, but not others. Looping in VBScript, on the other hand, allows you to tell the script to execute some lines of code over and over again. This is useful in two situations: when you want to repeat a block of code until a condition is True or False, and when you want to repeat a block of code a defined number of times.
First
Next