On 04 Apr 2007 07:07:35 -0700, sanofsans <[EMAIL PROTECTED]> wrote:
>
>   The command line is system("script"); and not a perl command.
> I am running it on Windows. Any suggestions?
>
> Thanks a lot!
>
> --- In [email protected] <c-prog%40yahoogroups.com>, "Tamas Marki"
> <[EMAIL PROTECTED]> wrote:
>
> >
> > On 04 Apr 2007 05:56:09 -0700, sanofsans <[EMAIL PROTECTED]> wrote:
> > > Thank you for your answers. The problem is that the invoked
> script is
> > > written by somebody else, and I do not know how it works. All I
> have
> > > to do is to invoke it, and it displays an output. OR is there a
> way
> > > to dump the output to a file eventhough you do not know how the
> > > invoked script works?
> >
> > Yes, on most modern operating systems, including Windows you can do
> > output redirection:
> >
> > perl.exe file.pl > output.txt
> >
> > This will create a file named output.txt and put all of the
> program's
> > output into it, instead of on the screen.
> >
> >
> > --
> > Tamas Marki
> >
>
>  
>


what do u get by cmd /k script.

What kind of script is that? Normally u need to invoke a script engine like
cscript or wscript to run a script..
-- 
Regards
Sumit Chawla ("eNetra : Hail the Invention")


"Computers are useless. They can only give you answers.":Pablo Picasso


[Non-text portions of this message have been removed]

Reply via email to