Windows Script Host
Windows Script is a comprehensive scripting infrastructure for the Microsoft® Windows® platform. Windows Script provides two script engines, Visual Basic® Scripting Edition and Microsoft JScript®, which can be embedded into Windows Applications. It also provides an extensive array of supporting technologies that makes it easier for script users to script Windows applications.
Microsoft XML Core Services (MSXML) allows customers who use JScript, Visual Basic Scripting Edition (VBScript), and Microsoft Visual Studio 6.0 to build high-performance XML-based applications that provide a high degree of interoperability with other applications that adhere to the XML 1.0 standard.
sample:
//test.vbs
Set rootXML = WScript.CreateObject("MSXML.DOMDocument")
rootXML.load("test.xml")
Set root = rootXML.documentelement
root.childNodes.item(0).text="testitem"
rootXML.Save("test.xml")
wscript.echo root.childNodes.item(0).text
阅读(1620) | 评论(1) | 转发(0) |