Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :: Released under the GNU General Public License version 3 by J2897.
- REM This is a one-click solution for launching your Android shell.
- REM Put a shortcut to this file in your Start Menu.
- @echo OFF
- setlocal
- color 1b
- mode CON:cols=100 lines=50
- set "ADB=C:\Android\adb.exe"
- REM Make sure ADB is installed.
- if not exist "%ADB%" (
- echo File not found...
- echo %ADB%
- goto :End
- )
- :Launch_Shell
- "%ADB%" -d shell
- echo.
- echo Shell session ended.
- echo.
- choice /C:yn /T 300 /D n /M "Launch again "
- if ERRORLEVEL 2 (goto :End)
- if ERRORLEVEL 1 (cls & goto :Launch_Shell)
- :End
- echo.
- echo Finished!
- echo.
- endlocal
- pause
- color
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement