title: Add files to classpath or loops in batch files?
body: <p>I have this script in BASH (linux) shells script that adds all *.jar files into the classpath automatically. Is there a way to do the in window's batch file or do I have to add all the files manually?</p>
  
  <pre><code>CLASSPATH=.
  for file in ./libs/*.jar; do
      CLASSPATH=$CLASSPATH:$file
  done 
  </code></pre>
  
  <p>Thanks!</p>