Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.chainon-marquant.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!fdn.fr!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: Re: Redirecting VB script sub shell standard output References: <80zkh9rkje.fsf@gmail.com> <804nzhtme6.fsf@gmail.com> <8062jwxfm2.fsf@gmail.com> <80aa97jmm4.fsf@gmail.com> Date: Fri, 14 Oct 2011 20:37:34 +0200 Message-ID: <80d3dzctch.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) Cancel-Lock: sha1:dCw6yYBoLVnAjOiEzbwBOtapCOY= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Antivirus: avast! (VPS 111014-0, 14/10/2011), Outbound message X-Antivirus-Status: Clean Lines: 17 Organization: les newsgroups par Orange NNTP-Posting-Date: 14 Oct 2011 20:37:23 CEST NNTP-Posting-Host: 92.135.113.85 X-Trace: 1318617443 reader.news.orange.fr 30751 92.135.113.85:12467 X-Complaints-To: abuse@orange.fr Xref: x330-a1.tempe.blueboxinc.net comp.lang.basic.visual.misc:489 Ron Weiner writes: [...] > > Fix up all of the string literals I used in this example to stuff that > works on your system. > > Rdub Thanks for the sample code. Maybe I should have made more clear that I do not launch the VBS script from a VB application, but from a Java application. The reason why I am interested in VBS is that I used to launch some MSDOS script before, but MSDOS seems less futureproof. Vincent.