WSH Language Elements
All the
language elements listed in Table 7.24 have
been added to Windows Script Host as of Version 2.0, largely in an
effort to add XML support to WSH, as well as to increase its
flexibility and its suitability for scripting by computer
professionals. In order to use these language elements, the file must
end with an extension of
.wsf
rather than .vbs
.
Table 7-24. WSH Language Elements
Element |
Description |
---|---|
<?job ?> |
Defines error handling. It syntax is |
<?xml ?> |
Indicates that the contents of a file should be parsed as XML. Its
syntax is |
<job>
|
Defines an individual job within a script file containing one or more ... |
Get VBScript in a Nutshell 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.