Fixed script termination if no option was selected in 'Install Service' (#7897)
This commit is contained in:
parent
e20eecd37c
commit
04df4830e7
@ -198,7 +198,11 @@ for %%f in (*.bat) do (
|
|||||||
:: Choosing file
|
:: Choosing file
|
||||||
set "choice="
|
set "choice="
|
||||||
set /p "choice=Input file index (number): "
|
set /p "choice=Input file index (number): "
|
||||||
if "!choice!"=="" goto :eof
|
if "!choice!"=="" (
|
||||||
|
echo The choice is empty, exiting...
|
||||||
|
pause
|
||||||
|
goto menu
|
||||||
|
)
|
||||||
|
|
||||||
set "selectedFile=!file%choice%!"
|
set "selectedFile=!file%choice%!"
|
||||||
if not defined selectedFile (
|
if not defined selectedFile (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user