How to redirect stderr to null in cmd.exe

Your DOS command 2> nul

Read page Using command redirection operators. Besides the “2>” construct mentioned by Tanuki Software, it lists some other useful combinations.

Leave a Comment