Read XML file with windows batch

后端 未结 4 599
北荒
北荒 2021-01-23 08:09

I\'m trying to read an xml file and read STRING \"50\" between the build tags from a XML file. I tried it but I\'m not getting any output.

The XML file..



        
4条回答
  •  礼貌的吻别
    2021-01-23 08:43

    This term will not fire because %%a is not going to be just

    "%%a"=="" 
    

    Add this line to your code after the FOR line and run it to show you what is happening:

    echo "%%a"
    

提交回复
热议问题