• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

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.

Table 9-6. WSH objects and their functionality
Object Functionality provided
Wscript Create new objects, output data, and process command-line arguments
WSHShell Registry, shortcut, and environment variable manipulation; ability to execute external executables
WSHNetwork Network directory and printer resource enumeration and manipulation
FileSystem Text file manipulation and file maintenance operations such as creating, deleting, and moving files



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint