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 ... |
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.
Read now
Unlock full access