title: Batch script - how to take last column from a text line
body: <p>i am having a text file that contain line :</p>
  
  <pre><code>08-09 15:39:38.236 D/MVSDKTutorialBasicOpenCloseFileLoop(12054): availableMemory = 636
  </code></pre>
  
  <p>i need to get the 636 value , and till far i was using this :</p>
  
  <pre><code>for /f "tokens=6-8" %%i in (D:\Roey\Jen2\OpenCloseFileLoop\Results\Logcat\firstline.txt) do set revision=%%i
  </code></pre>
  
  <p>the problem is that somtimes the line has extra space ( 2054) - and it doesnt work ( i am getting =  )  , any way to always get the last column ?</p>