Is there a way to redirect Windows console commands to nothing\null?
A regular redirection might look like:
prog.exe > a.txt
However in my case I would like to redirect the output so that it will not be written or displayed anywhere.
|
Is there a way to redirect Windows console commands to nothing\null? A regular redirection might look like:
However in my case I would like to redirect the output so that it will not be written or displayed anywhere. |
|||
|
|
|
Absolutely! This directs standard output to nul:
This directs errors to nul:
This directs both to nul:
|
|||
|