title: windows batch: download file into current folder
body: <p>I would to dowload a file from a .bat script in Windows 7, and put it into current folder (where the script is).</p>
  
  <p>I tried in this way, with no (good) results:</p>
  
  <pre><code>    SET FILENAME = "name.ext"
      bitsadmin.exe /transfer "JobName" http://www.someurl.com/file.ext %cd%%FILENAME%
  </code></pre>
  
  <p>I got this:</p>
  
  <pre><code>    Unable to add file - 0x80070005
  </code></pre>
  
  <p>Why? I suppose that string concat fails</p>
  
  <p>(I know that bitsadmin is deprecated in Win7)</p>
  
  <p>Thank you in advance!</p>