今天需要因为有点SQL文件需要添加修改,但是感觉是做运维工作得当然不能一个一个来了。搞了半天bat才找到这个命令(真是一个不合格的运维)
例如:a.txt 内容添加到 b.txt (不是覆盖,而是在 b.txt 内容后面添加)
1.copy /b a.txt+b.txt c.txt (这个命令我没用,因为我不需要新的文件)
2.type a.txt >> b.txt (这个命令满足了我)
随手记下来,万一又忘了呢