I am having a bear of a time getting a batch file to delete the first two lines of every file and replace them with a file of the same name and “<scenarioFile>”
So changing
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<scenarioFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<updateRec>
<ec>CME</ec>
To
<scenarioFile>
<updateRec>
<ec>CME</ec>
Since it is a batch file, you can show me how to do this to one file, and then I can copy paste the rest into the batch (I hope that makes sense)
The unwanted schema was added by Excel.
Thank you for your help.