to the end of your command-line, it will redirect all the output into the null device and stops it echoing to the screen. This is the MS-DOS equivalent of
If it doesn't have one, you can still redirect the output using > into a file, then deleting the file afterwards. If you are on *nix, you can redirect into /dev/null.
Edit
In MS-DOS and cmd.exe you can redirect into NUL, instead of a file. Thanks to agnul for this hint.
发布评论
评论(5)
AFAIK,没有相应的开关,但您可以隐藏输出,将其重定向到文件,例如(DOS 批处理):
这样所有输出都以 DumpFile.txt 结束,而不是在屏幕上。
AFAIK, there is not a switch for that, but you could hide the output redirecting it to a file, for example (DOS batch):
This way all the output ends in DumpFile.txt and not on the screen.
要避免文件名在屏幕上回显并仅显示确认信息,请执行以下操作:
To avoid file names echoing on the screen and display only the confirmations, do:
不是内置的,但如果您添加
到命令行末尾,它会将所有输出重定向到空设备并停止其回显到屏幕。 这相当于
Linux 和 Unix 系统中的 MS-DOS。
Not built in, but if you add
to the end of your command-line, it will redirect all the output into the null device and stops it echoing to the screen. This is the MS-DOS equivalent of
in Linux and Unix systems.
7-Zip 没有这方面的开关。 如果您使用 PowerShell 调用 7-Zip,则可以使用
Out-Null
将输出重定向为 null。 例如,7-Zip has no switch for this. If you are using PowerShell to call 7-Zip, you can redirect the output to null using
Out-Null
. For example,如果没有,您仍然可以使用
>
将输出重定向到文件中,然后删除该文件。 如果您使用的是 *nix,则可以重定向到/dev/null
。编辑
在 MS-DOS 和 cmd.exe 中,您可以重定向到 NUL,而不是文件。 感谢 agnul 提供此提示。
If it doesn't have one, you can still redirect the output using
>
into a file, then deleting the file afterwards. If you are on *nix, you can redirect into/dev/null
.Edit
In MS-DOS and
cmd.exe
you can redirect into NUL, instead of a file. Thanks to agnul for this hint.