|I am trying to do something that I know I should do with VB or Python, or something like that. But I am limited to Batch for work-related reasons. I have a program that reads commands from an XML file and I just need to change a tag (run) from "Run" to "Stop"|
I knew this was going to be difficult, but I'm not finding any information anywhere... Also, this tag could end up being on any line, so doing it by line won't work.
Here is the XML file, "Commands.xml" (simplified slightly)
<?xml Versionsion="1.0" standalone="yes"?>
I'm trying to put the value of "Run" from the XML into a variable, "Run" (I know, I'm super creative) in my batch file then check the variable in a later step.
Any help would be greatly appreciated, because I already know this isn't an easy thing to do!