Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
WScript Object
Echo Method
StdIn Property
StdOut Property
Property: WScript.StdErr
WScript.
StdErr
The
StdErr
property returns a write-only
TextStream
object that outputs text to the Standard Error stream. This property is read only and can only be used when cscript is the host executable. If you attempt to use this property when running a script under wscript, an "Invalid handle" error will be generated.
The following VBScript code illustrates the use of this property.
Code:
Set objStdErr = WScript.StdErr
objStdErr.Write ("An error occurred.")
Output:
An error occurred.
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information