Page 1 of 1

Is there any way to suppress errors?

Posted: Fri Sep 18, 2009 5:52 am
by Andys
Seems like -quiet switch doesn't suppress error output. I still get " Error: Can't create file (...)" errors on screen. >nul doesn't work either.
Anyone know some way I could hide errors? I use batch file with simple errorlevel checks and the users should see only "<file> - OK" or "<file> - error".

Re: Is there any way to suppress errors?

Posted: Fri Sep 18, 2009 8:14 am
by xnview
Messages such " Error: Can't create file (...)" are written on stderr

Re: Is there any way to suppress errors?

Posted: Mon Sep 21, 2009 5:25 am
by Andys
That helped ^_^. It's much easier when you know what to search for.
Command string should be nconvert ... ... ... >>logfile.txt 2>>errorlogfile.txt
I never know that windows had more than one output pipe just like linux...