1. Bind question

Is there a way to capture the output of the bind program, so that I could
write a Windows interface to it and redirect the output to a scratch file?
I can get it to run from with my program, but the text output always goes
to the console.  I read bind.doc and it discusses redirecting streams from
bound programs, but not bind itself.  Any hints, or Rob, is this perhaps a
built-in 'feature' of bind?

Thanks,
Brian

new topic     » topic index » view message » categorize

2. Re: Bind question

Brian Jackson writes:
> Is there a way to capture the output of the bind program,

Yes there is, but there's a trick to it.
You can't simply run bindw.bat in a system command
and redirect the standard input and/or standard output.
DOS .bat files can't handle I/O redirection in that way.
You have to run line 2 of bindw.bat directly, e.g.

       ex.exe bind.ex -w32 < answers > questions

where you have set up your answers to the bind questions
in a file called (say) answers.

Most of the bind questions can actually be answered using
command-line options, but you can't specify the destination
file that way -- I'll add that in the next release. Also, bind will
always output some text if you don't redirect
standard output.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu