Posted By

shadevampire on 06/16/11


Tagged

file print windows text to batch bat with echo


Versions (?)

echo print text to file with windows batch bat


 / Published in: Windows PowerShell
 

echo "hello" >> tmp.txt will append the text "hello" to tmp.txt echo "world" > tmp.txt will overwrite the existing tmp.txt 's content, and after this it will only contain "world"

  1. echo "hello" >> tmp.txt
  2. echo "world" > tmp.txt

Report this snippet  

You need to login to post a comment.