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?
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
copy mfc42d.dll $windir\system32 > nul
regsvr32 $windir\system32\mfc42d.dll /s > nul
© 2022 - 2024 — McMap. All rights reserved.