是否有可能在某种“完全沉默”模式下运行robocopy?
任何命令行实用程序都可以通过将stdout和stderrredirect到特殊文件“nul”来完全保持沉默。 这是Windows在* nix系统上相当于/ dev / null。
command >nul (stdout is not echoed) command 2>nul (stderr is not echoed) command >nul 2>&1 (neither stdout nor stderr is echoed)
后者是你想让它完全沉默的那个。