Processing Multiple Items with the For Command | Windows Batch Files for Fun and Profit | Que
Processing Multiple Items with the For Command You'll often want to write batch files that process "all" of a certain type of file. Command-line programs can deal with filename wildcards: For example, you can type delete *.dat to delete all files whose na...