This is because the directory structure is not what buildcp.bat expects:
dir /b "%QUARTZ%\lib\core\*.jar" > temp.tmp
FOR /F %%I IN (temp.tmp) DO CALL "%QEB%\addpath.bat" "%QUARTZ%\lib\%%I"
The lib\core directory does not exist in the 1.7.1 distribution, and you get
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory errors.
changing the above line to
dir /b "%QUARTZ%\lib\*.jar" > temp.tmp
FOR /F %%I IN (temp.tmp) DO CALL "%QEB%\addpath.bat" "%QUARTZ%\lib\%%I"