Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.42!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!193.252.117.184.MISMATCH!feeder.news.orange.fr!not-for-mail From: vincent.belaiche@gmail.com (Vincent =?iso-8859-1?Q?Bela=EFche?=) Newsgroups: comp.lang.basic.visual.misc Cc: =?iso-8859-1?Q?Vincent_Bela=EFche?= Subject: Redirecting VB script sub shell standard output Date: Sun, 09 Oct 2011 22:12:53 +0200 Message-ID: <80zkh9rkje.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) Cancel-Lock: sha1:0zA6Mw9hzksOwDtS8LQjhLLUkn4= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Antivirus: avast! (VPS 111009-0, 09/10/2011), Outbound message X-Antivirus-Status: Clean Lines: 15 Organization: les newsgroups par Orange NNTP-Posting-Date: 09 Oct 2011 22:12:43 CEST NNTP-Posting-Host: 92.135.113.85 X-Trace: 1318191163 reader.news.orange.fr 18791 92.135.113.85:11668 X-Complaints-To: abuse@orange.fr Xref: x330-a1.tempe.blueboxinc.net comp.lang.basic.visual.misc:465 Hello, I am creating some sub shell object in the Visual basic script by Set objShell = WScript.CreateObject("WScript.Shell") And then I am executing some console application. I would like to redirect the standard out of this console application to the standard output of the calling visual basic script, but I am desesperate to find how to do this. Any idea is welcome. Vincent.