WSH 版本信息

下表列出了 Microsoft 宿主应用程序实现的 Windows 脚本宿主版本。

宿主应用程序 WSH 版本
  1.0 2.0
Microsoft Windows 98 x  
Microsoft Windows NT 4 Option Pack x  
Microsoft Windows 2000   x

下表列出了 Windows 脚本宿主的语言元素以及首次引入的版本。

元素 首次引入的版本
  1.0 2.0
<?job ?> 元素   x
<?XML ?> 元素   x
AddPrinterConnection 方法 x  
AddWindowsPrinterConnection 方法   x
AppActivate 方法   x
Application 属性 x  
Arguments 属性 x  
AtEndOfLine 属性   x
AtEndOfStream 属性   x
Close 方法   x
Column 属性   x
ComputerName 属性 x  
ConnectObject 方法   x
Count 属性 x  
CreateObject 方法 x  
CreateShortcut 方法 x  
Description 属性 x  
DisconnectObject 方法 x  
Echo 方法 x  
EnumNetworkDrives 方法 x  
EnumPrinterConnections 方法 x  
Environment 属性 x  
ExpandEnvironmentStrings 方法 x  
FullName 属性 x  
GetObject 方法 x  
getResource 方法   x
HotKey 属性 x  
IconLocation 属性 x  
Item 属性 x  
<job> 元素   x
Length 属性 x  
Line 属性   x
LogEvent 方法   x
MapNetworkDrive 方法 x  
Name 属性 x  
<object> 元素   x
<package> 元素   x
Path 属性 x  
Popup 方法 x  
Quit 方法 x  
Read 方法   x
ReadAll 方法   x
ReadLine 方法   x
<reference> 元素   x
RegDelete 方法 x  
RegRead 方法 x  
RegWrite 方法 x  
Remove 方法 x  
RemoveNetworkDrive 方法 x  
RemovePrinterConnection 方法 x  
<resource> 元素   x
Run 方法 x  
Save 方法 x  
<script> 元素   x
ScriptFullName 属性 x  
ScriptName 属性 x  
SendKeys 方法   x
SetDefaultPrinter 方法 x  
Skip 方法   x
SkipLine 方法   x
Sleep 方法   x
SpecialFolders 属性 x  
StdErr 属性   x
StdIn 属性   x
StdOut 属性   x
TargetPath 属性 x  
UserDomain 属性 x  
UserName 属性 x  
Version 属性 x  
WindowStyle 属性 x  
WorkingDirectory 属性 x  
Write 方法   x
WriteBlankLines 方法   x
WriteLine 方法   x
WScript 对象 x  
WshArguments 对象 x  
WshEnvironment 对象 x  
WshNetwork 对象 x  
WshShell 对象 x  
WshShortcut 对象 x  
WshSpecialFolders 对象 x  
WshUrlShortcut 对象 x