I found a neeat trick in one of the Forums to get a list of JAR files in a directory & its subdirectories in Windows. You need to type this command at the root folder: -
DIR /S/B *.JAR
You’ll see a list of JAR files under the folder & it’s subdirectories. This is very useful in setting the ClassPath – via the Command Line or using a Custom ClassLoader.