Ale*_*rge 47 windows windows-7 windows-command-prompt stdout
我有一个正在运行的命令会产生大量输出,我想在不写入文件的情况下使输出静音。我使用以下内容将所有输出发送到文件,但我又不想要任何文件输出:
command > out.txt 2>&1
Run Code Online (Sandbox Code Playgroud)
我以前command > /dev/null在我的 CentOS 机器上使用过,但我在 Windows 上找不到类似的东西。
Jed*_*els 68
你要command > nul 2>&1。
| 归档时间: |
|
| 查看次数: |
65832 次 |
| 最近记录: |