For loop: operation on a stack of files [newbie]
Posted: 20 Jan 2010 02:28
Hi everyone!
I've never worked with batch files before, but just found out I need it for the project I'm working on...
I've got a stack of files: temp0000.000, temp0000.001,... temp0000.364. Now, I want to perform the same operation on all of these files. Is there an easy way to do this? (e.g. with the for function)?
I know what the operation syntax should be btw, this is just about the way to do it for ALL of the files.
- Of course I tried reading some of the stuff online but I couldn't really figure it out
I've never worked with batch files before, but just found out I need it for the project I'm working on...
I've got a stack of files: temp0000.000, temp0000.001,... temp0000.364. Now, I want to perform the same operation on all of these files. Is there an easy way to do this? (e.g. with the for function)?
I know what the operation syntax should be btw, this is just about the way to do it for ALL of the files.
- Of course I tried reading some of the stuff online but I couldn't really figure it out