Yes, For is definitely available in command prompt / batch file.
Most common way of using for loop is with a data set. It works more or less like a foreach.
General syntax goes like this,
FOR %i IN <DataSet> DO <method> %i
Here we pass a custom data set (an array),
FOR %i IN (1,2,3,4) DO echo %i
To loop through executable files,
FOR %i IN (*.exe) DO echo %i
For additional information, type "help for" in command prompt.
Hope this helps.