Skip to Main Content
Windows® XP Under the Hood
book

Windows® XP Under the Hood

by Brian Knittel
July 2002
Intermediate to advanced content levelIntermediate to advanced
736 pages
16h 43m
English
Que
Content preview from Windows® XP Under the Hood

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" ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft® Windows® 2000 Scripting Guide

Microsoft® Windows® 2000 Scripting Guide

Microsoft Corporation

Publisher Resources

ISBN: 0789727331Purchase book