打開一個空的txt文件,寫入以下內容,保存爲bat文件(如,cap.bat)
d:\android_sdk\platform-tools\adb.exe shell screencap -p /sdcard/screen.png
d:\android_sdk\platform-tools\adb.exe pull /sdcard/screen.png screenShots
rundll32.exe C:\Windows\System32\shimgvw.dll,ImageView_Fullscreen screenShots\screen.png