CMD para la declaración

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