how to append an empty line in text file using command line ?

Posted by Arunachalam on Stack Overflow See other posts from Stack Overflow or by Arunachalam
Published on 2010-03-31T16:53:46Z Indexed on 2010/03/31 17:03 UTC
Read the original article Hit count: 446

Filed under:
|
|

how to append an empty line in text file using command line

 echo hi >a.txt
    echo >>a.txt
    echo arun >>a.txt 

here the out put comes as

hi 
echo on 
arun 

so how could i append a empty line ..i want it to be like .

hi 

arun

when i added this line on code @echo off it said echo off .how can it be done

© Stack Overflow or respective owner

Related posts about command-line

Related posts about scripting