Add a new line to a text file in MS-DOS

后端 未结 6 1111
攒了一身酷
攒了一身酷 2020-12-24 05:11

I am making a .bat file, and I would like it to write ASCII art into a text file.

I was able to find the command to append a new line to the file when e

6条回答
  •  我在风中等你
    2020-12-24 06:04

    Use the following:

    echo (text here) >> (name here).txt
    

    Ex. echo my name is jeff >> test.txt

    test.txt

    my name is jeff
    

    You can use it in a script too.

提交回复
热议问题