title: When appending to a file using Windows batch commands, how to append immediately after the next word in the file?
body: <p>When appending to a file using Windows batch commands, how to append immediately after the next word in the file? </p>
  
  <p>For example, these commands</p>
  
  <pre><code>echo here is the date of &gt; c:\arun.txt
  date /t &gt;&gt; c:\arun.txt 
  </code></pre>
  
  <p>write the following text to the arun.txt file:</p>
  
  <blockquote>
    <p>here is the date of<br>
    29-03-2010</p>
  </blockquote>
  
  <p>But I want the output to be like this:</p>
  
  <blockquote>
    <p>here is the date of 29-03-2010 </p>
  </blockquote>
  
  <p>How to avoid carrage return while appending?</p>