How can I use a batch file to write to a text file?

后端 未结 7 1738
不知归路
不知归路 2020-12-07 07:58

I need to make a script that can write one line of text to a text file in the same directory as the batch file.

相关标签:
7条回答
  • 2020-12-07 08:58
    • You can use copy con to write a long text
    • Example:

      C:\COPY CON [drive:][path][File name]

      .... Content

      F6

      1 file(s) is copied

    0 讨论(0)
提交回复
热议问题