linux&window-命令行

1.echo xxx > a.txt

 set /p=xxx>a.txt<nul     生成的文件内容结尾不含换行符

 

posted @ 2016-01-07 10:53  老冯9  阅读(161)  评论(0编辑  收藏  举报