title: how to print a specified parameter when using aapt dump
body: <p>I saw <a href="https://stackoverflow.com/a/6289168/1137788">here</a> that the command</p>
  
  <pre><code>aapt dump badging foo.apk
  </code></pre>
  
  <p>prints all the details of the specified package.</p>
  
  <p>Is it possible to print any one property, say sdkversion?
  Something like</p>
  
  <pre><code>aapt dump badging -sdkversion foo.apk
  </code></pre>
  
  <p>P.S I'm using command prompt in windows.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I am trying to store the package name in a variable.
  As of now, I have this code</p>
  
  <pre><code>@echo off
  for /f "delims=" %%a in ('aapt dump badging foo.apk') do (
       REM each line of the output
  )
  </code></pre>
  
  <p>I am able to retrieve each line of the output. Now I have to extract the package name from the string. 
  For instance the first line is </p>
  
  <blockquote>
    <p>package: name='com.timeplusq.noob' versionCode='15' versionName='1.5'</p>
  </blockquote>
  
  <p>which is retrieved in the first iteration of the for loop. How do I extract the package name from it.  I thought string manipulation would be straight forward, it is not. 
  <strong>So how do I extract the package name from the string?</strong></p>