9.6. Object Model
WSH includes a number of
objects that provide access to Windows system-related operations.
Table 9-6 lists the main objects and the
operations they perform.
FileSystem object exposes a
Drives collection object. These objects and their
uses are covered next.
|
9.6.1. Conventions
The next section provides a reference to the core WSH objects,
describing their methods and properties.Like the rest of this book, the convention for the
objects' methods is that any parameter surrounded by
square brackets is optional. For example, in the syntax for the
method PrintName:
PrintName strName, [strAddress]the strName parameter is required, but the
strAddress parameter is optional since
it's surrounded with square brackets. Words in
monospace are to be typed exactly as shown, but
italicized words are to be replaced with
your own values.