@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