标签:
@echo offset /p before=请输入前面的字符set /p after=请输入后面的字符for /f “delims=” %%i in (1.txt) do (if “%%i”==”” (echo.>>2.txt) else (echo %before%%%i%after%>>2.txt))ren 2.txt 1.txt
批量修改文本添加字符批处理
原文地址:http://www.cnblogs.com/dreamM/p/5722625.html