김가영

PATH에서 user 폴더 환경변수로 수정

@echo
cd C:\Users\rkdud\Desktop\batch_file
adb devices > C:\Users\rkdud\Desktop\batch_file\device.csv
adb shell dumpsys alarm > C:\Users\rkdud\Desktop\batch_file\alarm.csv
adb shell ps -A > C:\Users\rkdud\Desktop\batch_file\process.csv
adb shell uptime > C:\Users\rkdud\Desktop\batch_file\uptime.csv
adb shell getprop ro.product.model > C:\Users\rkdud\Desktop\batch_file\model.csv
adb shell getprop ro.build.version.release > C:\Users\rkdud\Desktop\batch_file\sdk_version.csv
adb shell getprop ro.build.version.sdk > C:\Users\rkdud\Desktop\batch_file\android_version.csv
cd C:\Users\%USERNAME%\Desktop\batch_file
adb devices > C:\Users\%USERNAME%\Desktop\batch_file\device.csv
adb shell dumpsys alarm > C:\Users\%USERNAME%\Desktop\batch_file\alarm.csv
adb shell ps -A > C:\Users\%USERNAME%\Desktop\batch_file\process.csv
adb shell uptime > C:\Users\%USERNAME%\Desktop\batch_file\uptime.csv
adb shell getprop ro.product.model > C:\Users\%USERNAME%\Desktop\batch_file\model.csv
adb shell getprop ro.build.version.release > C:\Users\%USERNAME%\Desktop\batch_file\sdk_version.csv
adb shell getprop ro.build.version.sdk > C:\Users\%USERNAME%\Desktop\batch_file\android_version.csv
adb install -r app-release.apk
start cmd.exe /k "node data.js"
adb shell am start -n com.example.dataextraction/com.example.dataextraction.LoadingActivity
......