title: windows batch: looping using two different lists
body: <p>I have a list of directories DIR1, DIR2 ... DIRn, each one with a single file in it: FILE1, FILE2, ... FILEn. 
  I would like to launch a make on each file: </p>
  
  <pre><code>cd %%DIR1
  make.exe %%FILE1
  </code></pre>
  
  <p>If the filename were always the same, it would be easy:</p>
  
  <pre><code>for %%x in (
    DIR1
    DIR2
    ...
    DIRn
  ) do (
    cd %%DIR1
    make.exe FILE
    rem my dirs are two levels deep
    cd ..\..
  )
  </code></pre>
  
  <p>Is there a way to create a list with coupled elements so that each instance of do() selects the right one?</p>