Reputation: 3177
I'd like to write a .bat
file that can run same .exe
file multiple times with different input files.
Does anyone know how to implement this task? What kind of commands should I use?
Upvotes: 1
Views: 1052
Reputation: 222017
Example:
FOR %v IN (c:\Users\public\videos\*.avi) DO my.exe %v
For more information just type
for /?
Upvotes: 2