【问题标题】:batch append contents from txt to another txt将txt中的内容批量追加到另一个txt
【发布时间】:2013-07-04 14:46:43
【问题描述】:

如果这看起来太容易了,您好道歉

我有一个 text1.txt,其中包含以下文本:

Give it a break John {
   Give 123sawnghaksdsj your best shot
},

Give it a break Mike {
   Give asdwsadasdsad23 your lack shit
},

并且来自 text2.txt

Main mac(){
    Jheader.pin.all
}

我想附加 text2.txt 的内容 到 text1.txt 之后

 Give it a break Mike {
       Give asdwsadasdsad23 your lack shit
    },

不删除 text1.txt 中的任何内容

上面的文字只是接近我的场景的例子。

我已经尝试搜索谷歌,但我得到的只是回显到一个文本文件,该文件将删除内容或附加到最后一行:(

它们很有用,但不是我想要的。

【问题讨论】:

    标签: batch-file


    【解决方案1】:

    问题解决了!

    我找到了这个,这正是我想要的: Batch: insert lines from a .txt file into a .txt file

    【讨论】:

      猜你喜欢
      • 2020-02-21
      • 1970-01-01
      • 2020-09-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-29
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多