Orlando Llanes wrote:
I beleive that gpc outputs to STDERR does it not? I know that gcc does, so you would have to do something like
Sorry, I forgot to say that I'm using DOS :( I tried what you wrote
anyway, but DOS would just write to the file &1 I looked in the DOS Programmer's Reference (from DOS 6.0), and the handle to StdOut and StdErr are different, it looks like DOS only redirects StdOut at the command line.
Yes, stderr is file handle 2 in Dos. You need the redir utility to redirect stderr (should be in one of the DJGPP packages).