Mail Archives: djgpp/1999/10/19/10:38:54
On Mon, 18 Oct 1999, Rodeo Red wrote:
> It appears to unzip ok with the comand :
> unzip32 djdev202
> but there's warnings or error messages or something I can't read because it
> goes by so fast.
Try pressing Ctrl-S.
> So I tried to redirect the message to error.log:
>
> C:\djgpp>redir -oe -e error.log unzip32 djdev202
> Bad command or file name
>
> Why doesn't this redirect work ?
I don't know. I tried the exact command above, and it worked for me.
Are you sure this was the *exact* command you typed?
Btw, if by "-oe -e error.log" you meant to redirect both stdout and
stderr to error.log, then you were wrong. The handles are redirected in
the order you mention them on the command line, so the above redirects
stdout to the console, because that's where stderr is initially, then
redirects stderr to a file. You need to do it the other way around:
redir -e error.log -oe unzip32 djdev202
This is explained in the redir docs.
- Raw text -