bat-安卓有限制M的填充内存


@echo off
adb wait-for-device
adb root
adb remount
echo 输入文本名称
echo input a fileName:
SET /p filename=


echo 输入需要填充多少m空间
echo input a size:

SET /P  size=
SET /a  a=2048
SET /a  count=%a%*%size%
adb shell dd if=/dev/zero of=/mnt/sdcard/%filename% count=%count%
::如果需要填充满则删掉count=%count%
pause
 
posted @ 2019-12-28 16:36  will__DeDe  阅读(234)  评论(0编辑  收藏  举报