title: Getting the current Revision number on command line via TortoiseSVN
body: <p>I'm trying to write a batch file in which I need the HEAD revision of the project I am working on.</p>
  
  <p>Is there a command to get this from the command line?</p>
  
  <p>I am on a Windows XP Machine.</p>
  
  <p><strong>EDIT</strong>
  I ended up using a mix between Shambulator, mizipzor, and Stefan's answers. I ended up with this:</p>
  
  <pre><code>for /f "tokens=5" %%i in ('SubWCRev WorkingCopyPath^|find "Last committed at revision"') do set version=%%i 
  echo %version%
  </code></pre>
  
  <p>Thanks for all your help guys</p>
  
  <p>Added this answer to the list below as well.</p>