This question already has an answer here:
I want to suppress the output of my script running under DOS, similar to the following under a *nix environment:
$ command 1>/dev/null
How can I do this?
This question already has an answer here:
I want to suppress the output of my script running under DOS, similar to the following under a *nix environment:
$ command 1>/dev/null
How can I do this?
Here's an example of using > NUL
You can use like this
It should be
>NUL
on both DOS and Windows console.