Sweep (Execute command(s) per File or Directory) |
A "sweep" program is one that generally processes a command in each directory and its subdirectories. you can perform similar tasks using the standard "for" command (it can match files or directories) as shown here:
@echo off echo **************************************** echo *** Display all ".MM" scripts on C:\ *** echo **************************************** for /R c:\ %%f in (*.MM) do echo %%f