Edit and Save and XML with a Batch Script
Posted: 10 Jan 2020 20:40
Hello everyone! First time poster long time lurker lol.
I was wondering if someone could help me with something that I’m not even sure is possible. Is the title states, I'm looking to edit a XML with a bat and have the file save and close.
I have a file Z:/Databases/Main Menu/Main Menu.xml
I’d like to run a bat called “insert any name here” and have the bat file name be inserted into the XML in its alphabetically correct location amongst the other lines within the XML between the mine tags, save, and then close.
An example of another line in the XML is <system name=“Microsoft”/> which is between the menu tags.
Thank you.
I was wondering if someone could help me with something that I’m not even sure is possible. Is the title states, I'm looking to edit a XML with a bat and have the file save and close.
I have a file Z:/Databases/Main Menu/Main Menu.xml
I’d like to run a bat called “insert any name here” and have the bat file name be inserted into the XML in its alphabetically correct location amongst the other lines within the XML between the mine tags, save, and then close.
An example of another line in the XML is <system name=“Microsoft”/> which is between the menu tags.
Thank you.