You need <B>for</B>:<BR><pre class="ip-ubbcode-code-pre">Runs a specified command for each file in a set of files. FOR %variable IN (set) DO command [command ...
A .bat (batch) file consists of a series of commands to be executed by the command-line interpreter, stored in a plain text file. A batch file can be scheduled to run automatically or run silently in ...