How to redirect stderr to null in cmd.exe

RedirectStderrCmd

Redirect Problem Overview


I have an application that logs a lot of noise to stderr and REALLY slows down the execution of the application. I would like to redirect that output to null. Is this possible with cmd.exe?

Redirect Solutions


Solution 1 - Redirect

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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionIgnacio Soler GarciaView Question on Stackoverflow
Solution 1 - RedirectatzzView Answer on Stackoverflow