How to output batch command to null
You may need to redirect both stdout and stderr:
timeout 2 >NUL 2>NUL
Note that the special device is NUL
or NUL:
, with a single L
.
You may need to redirect both stdout and stderr:
timeout 2 >NUL 2>NUL
Note that the special device is NUL
or NUL:
, with a single L
.