bat给文件追加换行内容

如果有很多文件怎么给文件结尾追加换行内容呢?

bat似乎没有专门的换行符,要实现似乎只能echo一下

1 set filename="123.txt"
2 echo.>>%filename%

以上代码就是添加文件尾部换行的内容,其他的只要echo sting>>%filename%就行了

猜你喜欢

转载自www.cnblogs.com/WaterGood/p/9236404.html