batch file windows code example
Example 1: batch windows for
syntax-FOR-List of numbers
FOR /L %%parameter IN (start,step,end) DO command
syntax-FOR-Command Results
FOR /F ["options"] %%parameter IN ('command to process') DO command
Example 2: what is a windows batch file
@ECHO OFF
ECHO Congratulations! Your first batch file executed successfully.
PAUSE