Run a batch command for every file in a directory

Posted by E_M on Super User See other posts from Super User or by E_M
Published on 2010-03-05T08:49:13Z Indexed on 2010/03/17 3:21 UTC
Read the original article Hit count: 305

Filed under:
|
|

I have a Java program working with this syntax:

command.jar namefile

I have to run this program for 1600 files in a directory. How can I run this command for every file automatically?

Is there a DOS batch command? Or another way?

© Super User or respective owner

Related posts about windows-xp

Related posts about script