Einzelnen Beitrag anzeigen

shmia

Registriert seit: 2. Mär 2004
5.508 Beiträge
 
Delphi 5 Professional
 
#2

Re: WScript "Das Handle ist ungültig"

  Alt 29. Jan 2007, 13:24
Wird dein Script über WScript.exe oder CScript.exe abgearbeitet?
Nur bei CScript.exe steht ein Konsolenfenster für Ein- und Ausgabe zur Verfügung.
Zitat:
The StdOut property returns an object representing the standard output stream. The StdIn, StdOut, and StdErr streams can be accessed while using CScript.exe only. Attempting to access these streams while using WScript.exe produces an error.
Schau dir mal die Option /H von CScript.exe an.
Andreas
  Mit Zitat antworten Zitat