Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Section G.11. The WshShell Object

G.11. The WshShell Object

Windows Script Host provides a convenient way to gain access to system environment variables, create shortcuts, access Windows special folders such as the Windows Desktop, and add or remove entries from the registry. It is also possible to create more customized dialogs for user interaction by using features of the Shell object. The WshShell object has three properties and eleven methods, as shown in the following table.

PropertiesMethods
CurrentDirectoryAppActivate
EnvironmentCreateShortcut
SpecialFoldersExpandEnvironmentStrings

LogEvent

Popup

RegDelete

RegRead

RegWrite

Run

SendKeys

Exec



  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint