Microsoft® Windows® Script Host
Version Information
WSH Reference


The following table lists the version of Windows Script Host implemented by Microsoft host applications.

Host Application WSH Version
1.0 2.0
Microsoft Windows 98 x  
Microsoft Windows NT 4 Option Pack x  
Microsoft Windows 2000   x

The following table lists Windows Script Host language elements and the version in which they were introduced.

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