I'm not too sure if this is the right place for this (i thought DOS but then saw a post that indicated otherwise) but i hope someone who has experience with this might be able to shed some light.
I'm trying to write a batch file but not getting very far at all. I've written a program that i want to send arguments to.
The idea of the batch file is to loop through all the files in one directory and all the files in a second directory, and then send them both to my app as arguments. So, dir1 and dir2 have say 50 files in them, it should send myapp - file1FromDir1 file1FromDir2 on the first iteration, myapp - file2FromDir1 file2FromDir2 on the second iteration, etc. It would also be nice to be able to do some checks for extensions and corresponding numbers of files etc, but i don't mind that so much.
Problems with it sending the wrong files shouldn't be too much of an issue as they're all ordered 00, 01, 02, in each directory to correspond to each other.
Any ideas? I've been messing around with this for ages, not having written many complicated batch files before and it's honestly just gotten to the point where im wasting time trying to figure this out when i could actually be writing code for my app.
Thanks in advance