批處理如何把數(shù)字在bxml文件中不存在則刪除a文件中該數(shù)字所在行如果a.txt文件中的數(shù)字在b.xml文件中不存在則刪除a文件中該數(shù)字所在行a.txt文件內(nèi)容如下501706 存在1 不存在501707 存在2 不存在501708 存在3 不存在501709 存在b.xml文件內(nèi)容如下<?xml version=1.0 encoding=UTF-8?><ProdOutageDb version=1.0><Product code=15/><Product code=19/><Product code=2379/><Product code=2447/><Product code=501705/><Product code=501706/><Product code=501707/><Product code=501708/><Product code=501709/><Product code=501710/><Product code=5020/><Product code=5023/></ProdOutageDb>b.xml文件中每個(gè)數(shù)字編號(hào)都是以<Product code=數(shù)字編號(hào)/>的格式顯示,要求判斷a.txt文件所在行的數(shù)字編號(hào)是否已經(jīng)存在于b.xml文件中,如果不存在則刪除a.txt文件中數(shù)字編號(hào)所在的行例如(編號(hào)1、2、3不在b.xml文件中,刪除所在行內(nèi)容后的結(jié)果如下)1 不存在2 不存在3 不存在