对于失败的文件,而不是日志中文件条目(例如“新文件”)下的百分比(87%、100% 等),您将找到一条错误消息,其中包含错误编号ERROR 32和描述,例如The process cannot access the file because it is being used by another process.
/L : List only.
/X : Report all extra files.
/V : Verbose output.
/TS : Include source file Time Stamps.
/FP : Include Full Pathname of files.
/BYTES : Print file sizes as bytes.
/NS : Don't log file sizes.
/NC : Don't log file classes.
/NFL : Don't log file names.
/NDL : Don't log folder names.
/NP : Don't show progress of operation.
/ETA : Show Estimated Time of Arrival of copied files.
/LOG:file : Output status to a LOG file. Overwrite existing file
/LOG+:file : Append existing output status to an existing LOG file.
/UNILOG:file : Output status to a Unicode LOG file. Overwrite existing file
/UNILOG+:file : Append existing output status to an existing Unicode LOG file.
/TEE : Output to console window and log file.
/NJH : Don't output Job Header.
/NJS : Don't output Job Summary.
您可以在日志中搜索关键字
ERROR
:对于失败的文件,而不是日志中文件条目(例如“新文件”)下的百分比(87%、100% 等),您将找到一条错误消息,其中包含错误编号
ERROR 32
和描述,例如The process cannot access the file because it is being used by another process.
比如这个:
请注意,文件夹也可能失败,而不仅仅是文件。
或者,您可以使用适当的开关来“过滤”日志的输出。如何做到这一点的问题已经回答了好几次,例如这里:Robocopy,如何只记录错误?
当涉及到个人日志记录要求时,最好熟悉日志记录选项(来源):