| 1. |
Solve : Is it possible to write simple text files with batch?? |
|
Answer» I know i can use the echo command to write something but that will enable me to write something with only one line, unless i use && or ^& but THATS only for if i'm WRITING ANOTHER batch file. (that's the 4 line equivilent of what can be done in 2 (or 1). echo hello > a.txt echo world >> a.txt or echo hello > a.txt & echo world >> a.txtlike Helpmeh, you can move ">" to begin of your command. > a.txt echo hello >>a.txt echo world >>a.txt echo does this work? Quote from: tonlo on April 19, 2009, 08:49:06 AM like Helpmeh, you can move ">" to begin of your command.I have never tried it that way... |
|