If I want to ignore stdout of a command, I do this on *nix:

myprog > /dev/null

How do I achieve the same on Windows (.cmd/.bat)?

link|improve this question

59% accept rate
feedback

1 Answer

up vote 15 down vote accepted

Use NUL:

myprog > NUL
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.