forfiles
Run a command against a set of files.
forfiles /m *.txt /c "cmd /c echo @file"
/s include subfolders · /m file mask · /c command to run
Practice line — try it from memory, then reveal
forfiles /m *.txt /c "cmd /c echo @file"
Run a command against a set of files.
forfiles /m *.txt /c "cmd /c echo @file"
/s include subfolders · /m file mask · /c command to run
forfiles /m *.txt /c "cmd /c echo @file"