42
5
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)?
42
5
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)?
62
Use NUL
:
myprog > NUL
How to suppress windows command output? – phuclv – 2017-02-11T05:46:18.270
1
See also on stackoverflow: How to redirect stderr to null in cmd.exe
– hippietrail – 2013-12-20T15:29:16.837