Quiet windows command line – no output please!

I often need to call a command line app but I don’t want it to output anything. I just want it to do its job and then die quietly. Here’s how to silence an app… stick the following on the end of the command:

>nul 2>&1

Done.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>