@echo off @echo ---- h t m l m a c r o s \ o n e . b t m ---- expanding %1 %2 %3 %4 %5 set first=%1 if exist %first% goto got set first=%1.html :got set checknewproducts=yes set reportunusedclues=no set resetfooterpercentage=10 set showcountsofbooksinstock=no set showcountsofdvdsinstock=no set showcountsofelectronicsinstock=no rem user caller's directory. if "%runwith" == "" set runwith=jar set runwith=jar echo running one htmlmacros runwith=%runwith% if "%runwith" == "jet" not exist E:\com\mindprod\htmlmacros\htmlmacros.exe runwith=jar pushd E: cd E:\com\mindprod\htmlmacros if "%runwith" == "jet" .and. ( not exist E:\com\mindprod\htmlmacros\htmlmacros.exe .OR. %@FILEAGE[E:\com\mindprod\htmlmacros\htmlmacros.exe] LE %@FILEAGE[E:\com\mindprod\htmlmacros\htmlmacros.jar]) ant jet popd if "%runwith" == "jar" java.exe %JAVA_OPTIONS -ea -jar E:\com\mindprod\htmlmacros\htmlmacros.jar %configuration -q %first %2 %3 %4 %5 if "%runwith" == "jet" E:\com\mindprod\htmlmacros\htmlmacros.exe %configuration -q %first %2 %3 %4 %5 if "%runwith" == "class" java.exe %JAVA_OPTIONS -ea com.mindprod.htmlmacros.HtmlMacros %configuration -q %first %2 %3 %4 %5 rem -30-