Compartir a través de


Windows Script Host Version Information

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

Host Application Table

Host Application

1.0

2.0

5.6

Microsoft Windows 98

X

 

 

Microsoft Windows NT 4 Option Pack

X

 

 

Microsoft Windows 2000

 

X

 

Microsoft Windows XP

 

 

X

You can determine your Windows Script Host version number by typing CScript at a command prompt.

Language Element Table

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

Language Element

1.0

2.0

5.6

<?job?> Element

 

X

 

<?XML?> Element

 

X

 

AddPrinterConnection Method

X

 

 

AddWindowsPrinterConnection Method

 

X

 

AppActivate Method

 

X

 

arguments Property (Windows Scripting - JScript)

X

 

 

AtEndOfLine Property (Windows Script Host)

 

X

 

AtEndOfStream Property (Windows Script Host)

 

X

 

Character Property

 

 

X

Close Method (Windows Script Host)

 

X

 

Column Property (Windows Script Host)

 

X

 

ComputerName Property

X

 

 

ConnectObject Method

 

X

 

Count Method (Windows Script Host)

X

 

 

CreateObject Method

X

 

 

CreateScript Method

 

 

X

CreateShortcut Method

X

 

 

Description Property (Windows Script Host)

X

 

 

Description Property (WshRemoteError)

 

 

X

DisconnectObject Method

X

 

 

Echo Method

X

 

 

EnumNetworkDrives Method

X

 

 

EnumPrinterConnections Method

X

 

 

Environment Property

X

 

 

Error Property (WshRemote)

 

 

X

<example> Element

 

 

X

Exec Method (Windows Script Host)

 

 

X

Execute Method (Windows Script Host)

 

 

X

Exists Method (Windows Script Host)

 

 

X

ExitCode Property

 

 

X

ExpandEnvironmentStrings Method

X

 

 

FullName Property (WScript Object)

X

 

 

GetObject Method

X

 

 

getResource Method

 

X

 

Hotkey Property

X

 

 

IconLocation Property

X

 

 

Item Property (Windows Script Host)

X

 

 

Item Property (WshNamed)

 

 

X

Item Property (WshUnnamed)

 

 

X

<job> Element

 

X

 

length Property (WSHArguments Object)

X

 

 

Line Property (WScript)

 

X

 

Line Property (WshRemoteError)

 

 

X

LogEvent Method

 

X

 

MapNetworkDrive Method

X

 

 

Name Property (WScript Object)

X

 

 

<named> Element

 

 

X

Number Property (Windows Script Host)

 

 

X

<object> Element (Windows Script Host)

 

X

 

<package> Element (Windows Script Host)

 

X

 

Path Property (Windows Script Host)

X

 

 

Popup Method

X

 

 

ProcessID Property (Windows Script Host)

 

 

X

Quit Method (Windows Script Host)

X

 

 

Read Method (Windows Script Host)

 

X

 

ReadAll Method (Windows Script Host)

 

X

 

ReadLine Method (Windows Script Host)

 

X

 

<reference> Element (Windows Script Host)

 

X

 

RegDelete Method

X

 

 

RegRead Method

X

 

 

RegWrite Method

X

 

 

Remove Method (Windows Script Host)

X

 

 

RemoveNetworkDrive Method

X

 

 

RemovePrinterConnection Method

X

 

 

<resource> Element (Windows Script Host)

 

 

 

Run Method (Windows Script Host)

X

 

 

<runtime> Element (Windows Script Host)

 

 

X

Save Method (Windows Script Host)

X

 

 

<script> Element (Windows Script Host)

 

X

 

ScriptFullName Property

X

 

 

ScriptName Property

X

 

 

SendKeys Method

 

X

 

SetDefaultPrinter Method

X

 

 

ShowUsage Method

 

 

X

Skip Method (Windows Script Host)

 

X

 

SkipLine Method (Windows Script Host)

 

X

 

Sleep Method

 

X

 

Source Property (Windows Script Host)

 

 

X

SourceText Property

 

 

X

SpecialFolders Property

X

 

 

SpecialFolders Property

 

 

X

Status Property (WshScriptExec)

 

 

X

StdErr Property (WScript)

 

X

 

StdErr Property (WshScriptExec)

 

 

X

StdIn Property (WScript)

 

X

 

StdIn Property (WshScriptExec)

 

 

X

StdOut Property (WScript)

 

X

 

StdOut Property (WshScriptExec)

 

 

X

TargetPath Property

X

 

 

Terminate Method (WshScriptExec)

 

 

X

<usage> Element

 

 

X

UserDomain Property

X

 

 

UserName Property

X

 

 

Version Property (Windows Script Host)

X

 

 

WindowStyle Property

X

 

 

WorkingDirectory Property (Windows Script Host)

X

 

 

Write Method (Windows Script Host)

 

X

 

WriteBlankLines Method (Windows Script Host)

 

X

 

WriteLine Method (Windows Script Host)

 

X

 

WScript Object

X

 

 

WshArguments Object

X

 

 

WshController Object

 

 

X

WshEnvironment Object

X

 

 

WshNamed Object

 

 

X

WshNetwork Object

X

 

 

WshRemote Object

 

 

X

WshRemoteError Object

 

 

X

WshScriptExec Object

 

 

X

WshShell Object

X

 

 

WshShortcut Object

X

 

 

WshSpecialFolders Object

X

 

 

WshUnnamed Object

 

 

X

WshUrlShortcut Object

X

 

 

Change History

Date

History

Reason

March 2009

Added information about how to determine the Windows Script Host version number.

Customer feedback.