title: ADB shell command to Get Device Rom Version and Save to Text File
body: <p>I know that if I use the following command, I will get the ROM version of the device:</p>
  
  <p>adb shell getprop "ro.product.version"</p>
  
  <p>I want my program to be able to read this value from a text file, but how can I get the ROM version using the adb shell command above and then save that result into a text file saved anywhere on the c drive of the computer.  I can not seem to find how to save the results of adb shell command anywhere. </p>