diff --git a/service.bat b/service.bat index 463216c..37ab9b9 100644 --- a/service.bat +++ b/service.bat @@ -198,7 +198,11 @@ for %%f in (*.bat) do ( :: Choosing file set "choice=" 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%!" if not defined selectedFile (