I am trying to create a batch file to recurse through a tree and create par2 files for each subdir. -- http://www.par2.net/
I'd like a script to run in c:\dir that will run through c:\dir\1\ , c:\dir\2\ , c:\dir\3\ , and subdirs c:\dir\1\a\ etc.
par2 runs on a file if given a filename, or all files within the current directory if not given one.
So the batch should run in each subdir without being passed a filename, so it creates par2 files for the whole subdir rather than each file in turn.
I guess a "for x in y do z" should manage it but not sure.
Thanks for your help,