- 帖子
- 220
- 积分
- 380
- 技术
- 1
- 捐助
- 0
- 注册时间
- 2010-8-26
|
请教高手,批处理删除A.txt,<def_ip>与<mac2ip>之间行的所有内容,<mac2ip>保留不删,文本各部份N行
A.txt内容:
<ddns>
domain=keshu passwd=hxl desc= user=kes1 isp=33rg line=wan2
<def_ip>
name=2233安 ip=22.33 active=yes mac=0-3e-97
name=2316早 ip=1.23.16 active=yes mac=04d-bc-e5
name=2354捷 ip=23.54 active=yes mac=-38-2e-8f
<dhcp_static>
00-114 192.168.22.11 2211跃
00-e1--4b 192.16.12 2212洋
<mac2ip>
192.168.20.11 90-e6-09 2011文 |
|