I do not understand why it is so difficult. Just work with 2 files.
- VBScript is read from A1.xml
- C # A2.xml program write / update program, and then replace A1.xml
And vbs might look like ...
Set xmlDoc = CreateObject("Msxml2.DOMDocument.6.0") xmlDoc.Async = False bReturn = False Do Until bReturn WScript.Sleep 3500 bReturn = xmlDoc.Load(".../A1.xml") Loop '...
source share