>How can I redirect the error messages from standard i/o to file? But >the program is writing to the std I/O other messages. Under Dos/Windows you have to use the djgpp redir.exe program. Under Linux, you can use program 2>error.txt Jonas