title: Windows cmd: echo without new line but with CR
body: <p>I would like to write on the same line inside a loop in a windows batch file.
  For example:</p>
  
  <pre><code>setlocal EnableDelayedExpansion
  set file_number=0
  for %%f in (*) do (
    set /a file_number+=1
    echo working on file number !file_number!
    something.exe %%f
  )
  setlocal DisableDelayedExpansion
  </code></pre>
  
  <p>This will result in:</p>
  
  <blockquote>
    <p>echo working on file number 1</p>
    
    <p>echo working on file number 2</p>
    
    <p>echo working on file number 3</p>
    
    <p>.
    .
    .</p>
  </blockquote>
  
  <p>I would like all of them to be on the same line.
  I found a hack to remove the new line (e.g. here: <a href="https://stackoverflow.com/questions/7105433/windows-batch-echo-without-new-line">Windows batch: echo without new line</a>), but this will produce one long line.</p>
  
  <p>Thanks!</p>