Windows Script File

Windows Script File is a file containing scripts in different language (by default VBScript and JavaScript are supported, but other languages can be enabled by the user after the installation of their respective interpreters).

This is an XML based format and it uses  tags to implement each of the script bodies. Often the body will be also wrapped in the  in order to prevent accidents with using XML like tags within the executable code, that would otherwise prevent parsing of the file.

Example 1 - Hello World
 <![CDATA[

wscript.echo 'Hello World!'

]]>

Example 2 - Interlanguage Hello World
 <![CDATA[ function helloWorld {     WScript.Echo("Hello World"); } ]]   <![CDATA[

helloWorld

]]>