@echo off echo ============================================ echo Project Startup Script echo ============================================ echo. echo Please select startup mode: echo 1. Start both frontend and backend echo 2. Start frontend only echo 3. Start backend only echo. set /p choice="Please enter your choice (1-3): " if "%choice%"=="1" ( echo. echo Starting backend server... start "Backend Service" cmd /k "cd /d d:\VUEobject\DNchngguo && call bin\run.bat" echo. echo Starting frontend server... start "Frontend Service" cmd /k "cd /d d:\VUEobject\DNchngguo\RuoYi-Vue3 && call bin\run-web.bat" echo. echo Frontend and backend servers are starting... echo Backend access address: http://localhost:8448 echo Frontend access address: http://localhost:81 echo. echo Press any key to exit the script... pause >nul ) else if "%choice%"=="2" ( echo. echo Starting frontend server... start "Frontend Service" cmd /k "cd /d d:\VUEobject\DNchngguo\RuoYi-Vue3 && call bin\run-web.bat" echo. echo Frontend server is starting... echo Frontend access address: http://localhost:81 echo. echo Press any key to exit the script... pause >nul ) else if "%choice%"=="3" ( echo. echo Starting backend server... start "Backend Service" cmd /k "cd /d d:\VUEobject\DNchngguo && call bin\run.bat" echo. echo Backend server is starting... echo Backend access address: http://localhost:8448 echo. echo Press any key to exit the script... pause >nul ) else ( echo. echo Invalid choice! Please enter a number between 1-3. echo Press any key to exit the script... pause >nul )