eh.
1) when you issue redirectoutput, it still outputs to console.
only the console output is directed elsewhere.

2) if endif should never be used for suppressing errorcodes.
it's conditional check stuff that has nothing to do with console-output. be aware of sloppy coders!
_________________________
!

download KiXnet