Added double Click on bat Feature

This little feature helps to open the cmd shell just by double-clicking the bat file.
It keeps the window open and changed already to the right path
This commit is contained in:
NewBit
2022-09-12 11:25:02 +02:00
committed by GitHub
parent e9addf0233
commit b5acf765b0
+9
View File
@@ -319,6 +319,7 @@ call :_Exit 2> nul
set InstallPrebuiltKernelModules=%false%
set ListAllAVDs=%false%
set InstallApps=%false%
set NOPARAMSATALL=%false%
REM While debugging and developing you can turn this flag on
echo.%params%| FIND /I "DEBUG">Nul && (
@@ -361,6 +362,11 @@ call :_Exit 2> nul
) ELSE IF "%2"=="InstallPrebuiltKernelModules" (
set InstallPrebuiltKernelModules=%true%
)
IF "%params%"=="" (
REM No Parameters SET at all
set NOPARAMSATALL=%true%
)
exit /B 0
:installapps
@@ -509,5 +515,8 @@ call :_Exit 2> nul
exit /B 0
:_Exit
if %NOPARAMSATALL% (
cmd /k
)
()
goto :eof