In theory, this should work:
code:
var xmlFile = MsgPlus.ScriptFilesPath + "\\upload.xml";
var xml = new ActiveXObject("Microsoft.XMLDOM");
xml.load(xmlFile);
var xmlNode = xml.documentElement.selectSingleNode("Status");
xmlNode.text = Status;
xml.save(xmlFile);
I changed the variable names to something I can understand, you can change them back if you want.