
繼上一個批處理替換指定字符串的求助這里一共有2個文件a.txt <map version=1.0><mapID target=dir_open_icon URL=dir/open/icon.html/><mapID target=Platform_copy_topics URL=Platform/copy_topics.html/><mapID target=NAS_ISM_help_network_ldap_manager URL=NAS/ISM_help/network_ldap_manager.html/></map>b.txt<toc version=1.0><tocitem text=Set a target=dir_open_icon/><tocitem text=Set b target=Platform_copy_topics/><tocitem text=Set c target=NAS_ISM_help_network_ldap_manager/></toc>需要最終得到a.txt和b.txt 為:<map version=1.0><mapID target=icon URL=dir/open/icon.html/><mapID target=copy_topics URL=Platform/copy_topics.html/><mapID target=network_ldap_manager URL=NAS/ISM_help/network_ldap_manager.html/></map>b.txt為<toc version=1.0><tocitem text=Set a target=icon/><tocitem text=Set b target=copy_topics/><tocitem text=Set c target=network_ldap_manager/></toc>前面那個求助解決了一個文件的修改,但是結合另外一個文件就不會了。請各位大神指點一下哈,急

