QUESTION :
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 (in cmd
or a batch file)?
ANSWER :
Use NUL
:
myprog > NUL
QUESTION :
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 (in cmd
or a batch file)?
ANSWER :
Use NUL
:
myprog > NUL