Im setting up a batch file to run some adb commands on my android phone. I want to run a command and store the result into a variable for later use in the batch file.
adb shell getprop ro.product.brand
That command outputs the brand of the device e.g. samsung. I want to capture that without displaying it into a variable that will be used later on in the script. I have the 3 adb files coped over to the scripts location so that it will run natively.