#\"\" below it" />
开发者

<Batch> How to find a line in file and add few lines under it?

开发者 https://www.devze.com 2023-03-27 07:32 出处:网络
I\'m trying to find a line \"<!-- here comes the new post -->\" in an HTML file and add some lines that wi开发者_运维技巧ll contain some vars and special characters like <>#\"\" below it

I'm trying to find a line

"<!-- here comes the new post -->" 

in an HTML file and add some lines that wi开发者_运维技巧ll contain some vars and special characters like <>#"" below it, without replacing the lines that are already below, because the line will be always in the middle of the file.

--David


You should read Remove multi-line strings from a text file using a batch script.
If you can remove lines you should be also be able to insert lines.

0

精彩评论

暂无评论...
验证码 换一张
取 消