Skip to content

Commit

Permalink
Exit program options selection corrected.
Browse files Browse the repository at this point in the history
  • Loading branch information
wiseman-timelord authored Dec 29, 2023
1 parent 7dc06da commit 01ae42c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions DynaPsPscPyPy3-Ba.Bat
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ echo.
echo.

:: User choice
set /p choice=Select, Script=1-#, Refresh=R, Window=W, Quit=X:
set /p choice=Select, Script=1-#, Refresh=R, Window=W, Exit=X:
if /i "%choice%"=="x" goto end
if /i "%choice%"=="r" goto generateMenu
if /i "%choice%"=="w" goto changeWindowSize
Expand Down Expand Up @@ -92,13 +92,10 @@ if errorlevel 1 (
)

:: Return to menu or exit
echo.
echo ...Script Exited.
echo.
timeout /t 2 /nobreak >nul
:retryExitChoice
echo Select, Main Menu = M, Exit Program = X
set /p exitChoice=Option:
<nul set /p "=Select, Main Menu = M, Exit Program = X: "
set /p exitChoice=
if /i "%exitChoice%"=="m" goto menu
if /i "%exitChoice%"=="x" goto end
echo Invalid choice.
Expand Down

0 comments on commit 01ae42c

Please sign in to comment.