Tom_Neverwinter

Pinball pinuppopper menu/managment

Dec 14th, 2024
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. @echo off
  2. :MENU
  3. cls
  4. echo.
  5. echo ==========================
  6. echo PINBALL MACHINE
  7. echo ==========================
  8. echo.
  9. echo Choose an option:
  10. echo.
  11. echo 1. Kill PinUp Tasks
  12. echo 2. Restart Explorer
  13. echo 3. Restart
  14. echo 4. Shutdown
  15. echo 5. Start Task Manager
  16. echo 6. Quit
  17. echo.
  18. set /p choice=Enter your choice (1/2/3/4/5/6):
  19. if "%choice%"=="1" goto KILLPINUP
  20. if "%choice%"=="2" goto RESTARTEXPLORER
  21. if "%choice%"=="3" goto RESTART
  22. if "%choice%"=="4" goto SHUTDOWN
  23. if "%choice%"=="5" goto TASKMGR
  24. if "%choice%"=="6" goto END
  25. goto MENU
  26.  
  27. :KILLPINUP
  28. taskkill /f /im PinUpDisplayX.exe
  29. taskkill /f /im PinUpMenu.exe
  30. taskkill /f /im PinUpPlayer.exe
  31. echo.
  32. echo PinUp tasks have been killed.
  33. pause
  34. goto MENU
  35.  
  36. :RESTARTEXPLORER
  37. taskkill /f /im explorer.exe
  38. start explorer.exe
  39. echo.
  40. echo Explorer has been restarted.
  41. pause
  42. goto MENU
  43.  
  44. :RESTART
  45. shutdown /r /t 0
  46. goto END
  47.  
  48. :SHUTDOWN
  49. shutdown /s /t 0
  50. goto END
  51.  
  52. :TASKMGR
  53. start taskmgr
  54. goto MENU
  55.  
  56. :END
  57. exit
  58.  
Advertisement
Add Comment
Please, Sign In to add comment