Appendix C. WSF and WSC File Format Reference
XML Conformance
WSF files encapsulate one or more script programs that can be run with the wscript
or cscript
programs. WSC files define scriptable automation (COM) objects written in a WSH-supported language. Both file types are formatted with Extensible Markup Language (XML) tags that define the structure of the program or component.
By default,
tag and attribute names are case insensitive,
attribute values need not be enclosed in quotes, if the value contains no spaces, and
the
<script>
element is “opaque” to the parser, so script code inside the<script>
element can use XML's special characters (<
,>
, and&
) without special consideration.
If the WSF or WSC file begins with the line
<?XML version="1.0" ...
Get Windows® XP Under the Hood now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.