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.
- @echo OFF
- setlocal
- set "ADB=C:\Android\adb.exe"
- REM Make sure ADB is installed.
- if not exist "%ADB%" (
- echo File not found...
- echo %ADB%
- goto :End
- )
- if [%1]==[] (
- echo Drop some files on top of this file to send them to your SD Card's root folder.
- goto :End
- )
- :Getfile
- if [%1]==[] (goto :End)
- set "FILENAME=%~nx1"
- set "LOCAL=%1"
- set "REMOTE=/storage/sdcard0/%FILENAME%"
- "%ADB%" push "%LOCAL%" "%REMOTE%" || goto :End
- shift
- goto :Getfile
- :End
- echo.
- echo Finished!
- echo.
- endlocal
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement