if not exist “DERBY_HOME” ( rem: 双引号表示 有空格的路径可以识别
@echo %%ERBY_HOME%%: 'DERBY_HOME' does not exist !!! rem:单引号表示输出引号里的内容
exit /b 1 rem:异常抛出,可以把错误信息抛出到调用它的脚本之中
)
if not exist “DERBY_HOME” ( rem: 双引号表示 有空格的路径可以识别
@echo %%ERBY_HOME%%: 'DERBY_HOME' does not exist !!! rem:单引号表示输出引号里的内容
exit /b 1 rem:异常抛出,可以把错误信息抛出到调用它的脚本之中
)