Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.basic.visual.misc > #468
| From | vincent.belaiche@gmail.com (Vincent Belaïche) |
|---|---|
| Newsgroups | comp.lang.basic.visual.misc |
| Subject | Re: Redirecting VB script sub shell standard output |
| References | <80zkh9rkje.fsf@gmail.com> <j6t5jl$r41$1@dont-email.me> |
| Date | 2011-10-10 08:02 +0200 |
| Message-ID | <804nzhtme6.fsf@gmail.com> (permalink) |
| Organization | les newsgroups par Orange |
Ron Weiner <NoOne@NoWare.NutThing> writes:
> Vincent Belaïche presented the following explanation :
>> 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.
>
> Not sure exactly what you want to accomplish, but you might be able to
> pipe or redirect the standard output of the console application to a
> file on the disk, then read the file into your VB app whereupon you
> can do anything you want with the contents.
>
> Research the Pipe {|} or the redirect {>} command line functions with
> your console application.
>
> Rdub
Redirecting to a file won't do it. My VB script is run itself from a
console with csscript, and I would like the output of the sub-shell run
console application to be run in the same console.
Console (A)
+-------- VB script (B)
+---- sub-shell with console application (C)
I would like the standard output of `B' and `C' to be displayed in the
same scrollable screen that is part of `A'.
Vincent.
Back to comp.lang.basic.visual.misc | Previous | Next — Previous in thread | Next in thread | Find similar
Redirecting VB script sub shell standard output vincent.belaiche@gmail.com (Vincent Belaïche) - 2011-10-09 22:12 +0200
Re: Redirecting VB script sub shell standard output Ron Weiner <NoOne@NoWare.NutThing> - 2011-10-09 18:01 -0400
Re: Redirecting VB script sub shell standard output vincent.belaiche@gmail.com (Vincent Belaïche) - 2011-10-10 08:02 +0200
Re: Redirecting VB script sub shell standard output ralph <nt_consulting64@yahoo.net> - 2011-10-10 01:50 -0500
Re: Redirecting VB script sub shell standard output vincent.belaiche@gmail.com (Vincent Belaïche) - 2011-10-11 07:27 +0200
Re: Redirecting VB script sub shell standard output vincent.belaiche@gmail.com (Vincent Belaïche) - 2011-10-11 22:32 +0200
Re: Redirecting VB script sub shell standard output Ron Weiner <NoOne@NoWare.NutThing> - 2011-10-11 21:04 -0400
Re: Redirecting VB script sub shell standard output vincent.belaiche@gmail.com (Vincent Belaïche) - 2011-10-14 20:37 +0200
Re: Redirecting VB script sub shell standard output "Thorsten Albers" <gudea@gmx.de> - 2011-10-14 20:55 +0000
Re: Redirecting VB script sub shell standard output vincent.belaiche@gmail.com (Vincent Belaïche) - 2011-10-19 19:31 +0200
Re: Redirecting VB script sub shell standard output ralph <nt_consulting64@yahoo.net> - 2011-10-09 21:45 -0500
Re: Redirecting VB script sub shell standard output Eric Coleman <eric@strategon.com> - 2011-10-13 19:45 -0500
Re: Redirecting VB script sub shell standard output vincent.belaiche@gmail.com (Vincent Belaïche) - 2011-10-14 20:14 +0200
csiph-web