@set source=:
@set /p source=Confirm to migrate the APP-DB to database? Current data in the database will be deleted!![Y/Q]
@set "source=%source:"=%"
@echo off
if "%source%"=="y" goto migrate
if "%source%"=="Y" goto migrate
if "%source%"=="q" goto end
if "%source%"=="Q" goto end
goto end
:migrate
cmd /k ant -f build.xml migrate-test-app-db
@echo "Done!"
pause
:end
pause
shell 交互
最新推荐文章于 2025-03-15 19:39:40 发布