Subject Re: [firebird-support] gsec to file
Author Milan Babuskov
Marc De Caluwé wrote:
> Is it possible to lead the ouput of the gsec command to a file instead
> of standard output. I use it under Win98 and Win2000.
> If I try to use it like this:
>
> gsec -user ... -password ... -di > file.txt
>
> it makes the file, but it is empty, and the output still appears on
> the standard output (screen).

AFAIK, it is not possible on Windows. On Linux you could, for example, do:

gsec ... -di 2>&1 > file.txt

However, if you really need it, you could write a small command-line app. that
would call gsec and capture it's output.

--
Milan Babuskov
http://fbexport.sourceforge.net
http://www.flamerobin.org