中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

中国DOS联盟论坛
现在时间是 2026-08-12 06:31
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » 如何批处理删除多个文本内相同内容,请高手指点 查看 878 回复 0
楼 主 如何批处理删除多个文本内相同内容,请高手指点 发表于 2010-05-29 07:20 ·  中国 吉林 四平 联通
新手上路
积分 1
发帖 1
注册 2009-08-25 02:37
16年会员
UID 150920
性别 男
来自 长春
状态 离线
有一批html文件,每个文件有如下相同的代码,如何才能将这些相同的内容删掉,且可以保留原文件名,因小弟批处理不精,请高手指点,谢谢!
<meta name="author" content="药网制作">
<meta name="copyright" content="药网版权所有 chinapharm.com.cn All Rights Reserved">
<META HTTP-EQUIV="Content-type" CONTENT="text/html;charset=GBK">
<style type="text/css">
body { font-family: "宋体", "Arial Narrow", "Times New Roman"; font-size: 9pt}
p { font-family: "宋体", "Arial Narrow", "Times New Roman"; font-size: 9pt}
br { font-family: "宋体", "Arial Narrow", "Times New Roman"; font-size: 9pt}
a:link { color: #0000FF; text-decoration: none}
a:visited { text-decoration: none}
a:hover { color: #FF0000; text-decoration: underline; background:#DCF2EE}
td { font-size: 9pt; font-family: "宋体"}
.mycss { font-size: 14px; color: #000099}
.myscc1 { font-size: 12px}
ul {text-indent: 0;margin-left: 14px;margin-right: 0;margin-top: 0;margin-bottom: 0}</style>
</head>
<body topmargin='0' leftmargin='0'><center>
<script src="/html/database/drugmanual/top.js"></script>
<table width='778' border='1' bordercolor='#FFFFFF' cellpadding='0' cellspacing='0'><td width='170' bordercolor='#009599' bgcolor='#E7FBF7' align='center' valign='top'><script src="/html/database/drugmanual/query_top.js"></script>
<table width="100%" cellpadding="0" cellspacing="0">
<tr bgcolor="#73E7A7" height="35"><td colspan='5' align="center" style="font-size:18px;font-weight:bold;color:#000000"><U>按拼音浏览</u></td></tr>
论坛跳转: