@echo off :MENU cls echo. echo ========================== echo PINBALL MACHINE echo ========================== echo. echo Choose an option: echo. echo 1. Kill PinUp Tasks echo 2. Restart Explorer echo 3. Restart echo 4. Shutdown echo 5. Start Task Manager echo 6. Quit echo. set /p choice=Enter your choice (1/2/3/4/5/6): if "%choice%"=="1" goto KILLPINUP if "%choice%"=="2" goto RESTARTEXPLORER if "%choice%"=="3" goto RESTART if "%choice%"=="4" goto SHUTDOWN if "%choice%"=="5" goto TASKMGR if "%choice%"=="6" goto END goto MENU :KILLPINUP taskkill /f /im PinUpDisplayX.exe taskkill /f /im PinUpMenu.exe taskkill /f /im PinUpPlayer.exe echo. echo PinUp tasks have been killed. pause goto MENU :RESTARTEXPLORER taskkill /f /im explorer.exe start explorer.exe echo. echo Explorer has been restarted. pause goto MENU :RESTART shutdown /r /t 0 goto END :SHUTDOWN shutdown /s /t 0 goto END :TASKMGR start taskmgr goto MENU :END exit