Windows 脚本宿主
WSH 版本信息
下表列出了由 Microsoft 宿主应用程序实施的 Windows 脚本宿主的版本。
宿主应用程序
1.0
2.0
5.6
Microsoft Windows 98
x
Microsoft Windows NT 4 Option Pack
x
Microsoft Windows 2000
X
下表列出了 Windows 脚本宿主语言元素以及引入它们的脚本宿主版本。
语言元素
1.0
2.0
5.6
<?job ?>元素
X
<?XML ?>元素
X
AddPrinterConnection 方法
x
AddWindowsPrinterConnection 方法
X
AppActivate 方法
X
Arguments 属性
x
AtEndOfLine 属性
X
AtEndOfStream 属性
X
Character 属性
x
Close 方法
X
Column 属性
X
ComputerName 属性
x
ConnectObject 方法
x
Count 方法
x
CreateObject 方法
x
CreateScript 方法
x
CreateShortcut 方法
x
Description 属性
x
Description 属性(WshRemote)
x
DisconnectObject 方法
x
Echo 方法
x
EnumNetworkDrives 方法
x
EnumPrinterConnections 方法
x
Environment 属性
x
Error 属性 (WshRemote)
x
<example> 元素
x
Exec 方法
x
Execute 方法
x
Exists 方法
x
ExitCode 属性
x
ExpandEnvironmentStrings 方法
x
FullName 属性
x
GetObject 方法
x
GetResource 方法
x
HotKey 属性
x
IconLocation 属性
x
Item 属性
x
Item 属性 (WshNamed)
x
Item 属性 (WshUnnamed)
x
<job> 元素
x
x
Length 属性
x
Line 属性
x
Line 属性 (WshRemote)
x
LogEvent 方法
x
MapNetworkDrive 方法
x
Name 属性
x
<named> 元素
x
Number 属性
x
<object> 元素
x
<package> 元素
x
Path 属性
x
Popup 方法
x
ProcessID 属性
x
Quit 方法
x
Read 方法
x
ReadAll 方法
x
ReadLine 方法
x
<reference> 元素
x
RegDelete 方法
x
RegRead 方法
x
RegWrite 方法
x
Remove 方法
x
RemoveNetworkDrive 方法
x
RemovePrinterConnection 方法
x
<resource> 元素
Run 方法
x
<runtime> 元素
x
Save 方法
x
<script> 元素
x
ScriptFullName 属性
x
ScriptName 属性
x
SendKeys 方法
x
SetDefaultPrinter 方法
x
ShowUsage 方法
x
Skip 方法
x
SkipLine 方法
x
Sleep 方法
x
Source 属性
x
SourceText 属性
x
SpecialFolders 属性
x
Status 属性 (WshRemote)
x
Status 属性 (WshScriptExec)
x
StdErr 属性
x
StdErr 属性 (WshScriptExec)
x
StdIn 属性
x
StdIn 属性 (WshScriptExec)
x
StdOut 属性
x
StdOut 属性 (WshScriptExec)
x
TargetPath 属性
x
Terminate 方法 (WshScriptExec)
x
<usage> 元素
x
UserDomain 属性
x
UserName 属性
x
Version 属性
x
WindowStyle 属性
x
WorkingDirectory 属性
x
Write 方法
x
WriteBlankLines 方法
x
WriteLine 方法
x
WScript 对象
x
WshArguments 对象
x
WshController 对象
x
WshEnvironment 对象
x
WshNamed 对象
x
WshNetwork 对象
x
WshRemote 对象
x
WshRemoteError 对象
x
WshScriptExec 对象
x
WshShell 对象
x
WshShortcut 对象
x
WshSpecialFolders 对象
x
WshUnnamed 对象
x
WshUrlShortcut 对象
x