Make sure to run the dos console with the delayed environment variable expansion option enable, that is cmd /V:ON
echo off FOR /F %%G IN ('DIR /S /B %1\*.jar') DO ( SET CP=!CP!;%%G ) java -jar jarjar-1.0.jar find jar %CP%
the script has to be called with an argument specifying the directory containing the set of jar files
No comments:
Post a Comment