title: Batch : list all the subfiles with their absolute path
body: <p>I want to generate a classpath automatically with all the <code>*.jar</code> files  contained under my <code>lib</code> folder.</p>
  
  <p>I can't find a way to list all these files with their absolute path, so that I can build my <code>classpath</code> variable.</p>
  
  <p>It seems the <code>dir</code> command do not allow to get the absolute path, even when you go recursively with a <code>/s</code>.</p>
  
  <p>Basically what I had in mind was something like :</p>
  
  <pre><code>set classpath = ./conf
  for %%i in (`dir /s /withaboslutepath *.jar`) do set classpath = %classpath%;"%%x"
  </code></pre>
  
  <p>Is there a way to achieve this ?</p>