CMD dla oświadczenia

for {%% | %}<variable> in (<set>) do <command> [<commandlineoptions>]
Example:
for %i in (a b c) do echo %i
a
b
c
Armandres