批处理:在TXT文本每一行的行首和行尾插入指定字符串

1.代码

@echo off
set TheStart=delete_recursive("/system/app/
set TheEnd="^);
(for /f "delims=" %%i in ('type 1.txt') do (
    echo %TheStart%%%i%TheEnd%
))>2.txt

2.原文链接:

http://www.bathome.net/viewthread.php?tid=40524&page=1

猜你喜欢

转载自blog.csdn.net/swiftlinlei/article/details/82113129