cmd for loop

Shell
# EXAMPLE: For loop to copy all the files in the current directory to the C:\User\ folder
For %F in (*) do copy %F C:\User\

# SYNTAX
# For %F in (<Files to loop through with space delimiters>) do <Command to do with %F>
Source

Also in Shell: