F. WSF and WSC File Format Reference

XML Conformance

Windows Script File (WSF) files encapsulate one or more script programs that can be run with the wscript or cscript programs. Windows Script Component (WSC) files define scriptable automation (COM) objects written in a Windows Script Host (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.

• 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. ...

Get Windows 7 and Vista Guide to Scripting, Automation, and Command Line Tools 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.