tags:

views:

55

answers:

1

Hi guys

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?

Thanks in advanced.

+1  A: 

Example:

FOR %v IN (c:\Users\public\videos\*.avi) DO my.exe %v

For more information just type

for /?
Oleg