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)?
Use NUL:
NUL
myprog > NUL
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the privacy policy and terms of service.
tagged
asked
3 years ago
viewed
9034 times
active