Sunday, 8 February 2015

From a piece of .vbs to xml



What may be the .xml file that the below .vbs code is expecting for?



Dim newTag : Set newTag = xmlDoc.createElement("Executable")
With newTag
.setAttribute "FileName",ApplicationPath
.setAttribute "Enable","1"
.setAttribute "Version", "0"
End With
'Append childnode
xmlDoc.selectSingleNode("//AdvancedRules/AdvancedRule[@Description='Black Applications']/ApplicationGroup").appendChild(newTag)


"


No comments:

Post a Comment