Is there an equivalent to /dev/null in Windows?
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)?
Use NUL
:
myprog > NUL
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)?
Use NUL
:
myprog > NUL