when appending in a file using ms-dos commands how to append immediately after the next word in the

Posted by Arunachalam on Stack Overflow See other posts from Stack Overflow or by Arunachalam
Published on 2010-03-29T15:54:14Z Indexed on 2010/03/29 16:33 UTC
Read the original article Hit count: 480

Filed under:
|

when appending in a file using ms-dos commands how to append immediately after the next word in the file ?

for example

 echo here is today's date  >c:\arun.txt
      date /t >> c:\arun.txt 

here in arun.txt its written has

actual output: here is the date of 29-03-2010

but i want the output to be like this: here is the date of 29-03-2010

how to avoid carrage return while appending

© Stack Overflow or respective owner

Related posts about command-line

Related posts about scripting