Bat| 批处理读取文件内容写入到文件

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u011479200/article/details/88698707

type 命令获取文件的所有内容:

C:\Users\User\Desktop\bat>type bat-test.txt
hello
test
你好

特别需要主要的是如果是写相对路径注意路径分隔符是\而不是linux中的/

type bat-test.txt  >  yveshe.result
type bat-test2.txt >> yveshe.result

猜你喜欢

转载自blog.csdn.net/u011479200/article/details/88698707