title: Is possible to set an adb command as a variable in batch?
body: <p>i tried to set a variable equal to an adb command but it doesn't work, here is the code</p>
  
  <pre><code>set ten=10
  set nine=9
  set eight_1=8.1
  set eight=8
  set seven=7
  set version = "adb shell getprop ro.build.version.release"
  if %ten% == %version% goto :menu
  if %nine% == %version% goto :menu
  if %eight_1% == %version% goto :menu
  if %eight% == %version% goto :menu
  if %seven% == %version% goto :menu 
  </code></pre>
  
  <p>Can anyone help me to figure it out?</p>