Windows: redirect stdout and stderror to nothing

Posted by Ramblingwood on Server Fault See other posts from Server Fault or by Ramblingwood
Published on 2010-04-16T03:19:18Z Indexed on 2010/04/16 3:23 UTC
Read the original article Hit count: 301

Filed under:
|
|
|
|

I have a command I am running produces a ton of output, I want to silence the output without writing to a file. I have used the following to send all output to a file, but again I don't want any file output:

command > out.txt 2>&1

I have used command > /bin/null on my CentOS box before, but I can't find a similar thing for windows.

© Server Fault or respective owner

Related posts about Windows

Related posts about cmd