中国DOS联盟论坛

中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --
联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
游客 | 登录 | 注册 | 会员 | 搜索 | 中国DOS联盟
中国DOS联盟论坛
现在时间是 2026-08-12 05:28
47,811 主题排行 / 349,897 发帖 / 今日 0 篇 / 48,256 会员排行
DOS批处理 & 脚本技术(批处理室) » 如何批处理删除多个文本内相同内容,请高手指点
可打印版本  876 / 0
第1楼 aredofe 发表于 2010-05-29 07:20
新手上路 发帖 1 积分 1 来自 长春
如何批处理删除多个文本内相同内容,请高手指点
有一批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>
[ 联系联盟系统管理团队 - 中国DOS联盟 - 标准版 ]
Sponsored by ifanr Inc | © 2001–2023