Re: WSF Format Specification?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Todd, look up "xml elements" in your documentation.

cheers, jw
____________________________________________________________

You got questions? WE GOT ANSWERS!!! ..(but,
no guarantee the answers will be applicable to the questions)


Todd Walton wrote:
Is there somewhere that I can get a sample WSF file that includes all
the available tags and how they're used? Something like a DTD for
WSF...? I want to start building WSFs, but I want to know what all is
available to me.

Windows Script Host

XML Elements
In this Section
<?job?> Element
XML processing instruction that specifies attributes for error handling.
<?XML?> Element
Indicates that a file should be parsed as XML.
<description> Element
Marks the descriptive text that appears when the user runs ShowUsage() or runs the script with the /? command line switch.
<example> Element
Makes your script self documenting.
<job> Element
Marks the beginning and the end of a job within a Windows Script file (*.wsf).
<named> Element
Marks a particular named argument to the script.
<object> Element
XML element that is used in Windows Script component files and that defines objects that can be referenced by script.
<package> Element
Encloses multiple job definitions in a Windows Script Host control (.wsf) file.
<reference> Element
XML element that includes a reference to an external type library.
<resource> Element
XML element that isolates textual or numeric data that should not be hard-coded into a script.
<runtime> Element
Groups together the set of run-time arguments for a script.
<script> Element
XML element that contains script to define the behavior of a Windows Script component.
Related Sections
WSH Reference
List of elements that make up WSH Reference.
WSH Basics
Learn the basics of WSH.


--------------------------------------------------------------------------------

© 2001 Microsoft Corporation. All rights reserved.

Build: Topic Version 5.6.9309.1546


Relevant Pages

  • Re: WSF Format Specification?
    ... Makes your script self documenting. ... XML element that includes a reference to an external type library. ... List of elements that make up WSH Reference. ...
    (microsoft.public.scripting.wsh)
  • Re: WSF Format Specification?
    ... Makes your script self documenting. ... Marks the beginning and the end of a job within a Windows Script file ... XML element that includes a reference to an external type library. ... List of elements that make up WSH Reference. ...
    (microsoft.public.scripting.wsh)
  • Xml signature with XPath transform
    ... order to sign only a part of Xml element. ... For that I create a reference like this: ... Now when I compute the signature I get the following Xml: ... tag by another tag name but then the signature check ...
    (microsoft.public.dotnet.security)
  • Re: Performance issue with filestream.write on huge file
    ... converted to an XML element and outputed to a file. ... by the type array written which are not released by the GC. ... The caller, of course, still may have a reference and if so the bytewon't be eligible for garbage collection no matter what you do in that Writemethod. ...
    (microsoft.public.dotnet.framework)
  • Re: Correct XSD Syntax?
    ... Is it correct to refer to an XML element as a type, ... reference from line to line or must this type be specified as ... An element declaration cannot be treated as a type declaration. ...
    (comp.text.xml)