Wscript.Shell 对象详细介绍(国外英文资料).docVIP

  • 23
  • 0
  • 约1.77万字
  • 约 30页
  • 2017-06-05 发布于河南
  • 举报

Wscript.Shell 对象详细介绍(国外英文资料).doc

Wscript.Shell 对象详细介绍(国外英文资料)

Wscript.Shell 对象详细介绍 The Wscript. Shell object details WshShell object ProgID Wscript. Shell The file name WSHom. Ocx Cf0 clsids F935DC22-1-11 d0 ADB9-00 c04fd58a0b IID cf0 F935DC21-1-11 d0 ADB9-00 c04fd58a0b The following table shows the properties associated with the WshShell object. Attributes that Environment returns the WshEnvironment collection object. SpecialFolders use the WshSpecialFolders object to provide access to Windows shell folders, such as desktop folders, starting menu folders and individual document folders. The following table illustrates the methods associated with the WshShell object. Method statement CreateShortcut creates and returns the WshShortcut object. ExpandEnvironmentStrings extends the PROCESS environment variable and returns the resulting string. Popup displays the message window that contains the specified message. RegDelete removes the specified key or value from the registry. RegRead returns the specified key or value from the registry. RegWrite sets the specified key or value in the registry. Run creates a new process that executes the specified command with the specified window style. WshShell. Environment The Environment property returns the WshEnvironment object. grammar The WshShell. Environment ([strType]) = objWshEnvironment annotation If strType specifies where the environment variable is located, it might be System, User, Volatile and Process. If strType is not provided, the method retrieves the system environment variable in Windows NT or the process environment variable in Windows 95. For Windows 95, the strType parameter supports only Process. The following variables are provided by the Windows operating system. Scripts can also get environment variables set by other applications. The name of the instructions Number of processors running on NUMBER_OF_PROCESSORS. The processor type used by the PROCESSOR_ARCHITECTURE user workstation. PROCESSOR_IDENTIFIER user workstations processor ID. PROCESSOR_LEVEL user workstations

文档评论(0)

1亿VIP精品文档

相关文档