我想抑制在 DOS 下运行的脚本的输出,类似于 *nix 环境下的以下内容:
$ command 1>/dev/null
我怎样才能做到这一点?
它应该是>NUL在 DOS 和 Windows 控制台上。
>NUL