Loops in windows batch

Below example illustrates how to use “for” loop in Batch programming. First for loop will print values from 1 to 3. Second for loop will print values of the first and second argument.
 
@echo off

FOR %%p IN (1 2 3 ) DO echo %%p

FOR %%p IN (%1 %2 ) DO echo %%p   

Web development and Automation testing

solutions delivered!!