Preview a Robocopy Folder Transfer and Read Its Completion Result
Robocopy is useful when an ordinary Windows folder transfer needs a log and controlled retries. Begin with a healthy source, a separate destination and a clear understanding of which direction the files should travel.
This example is for ordinary project files, not a complete Windows profile, encrypted-file recovery or a system backup. Close applications that are changing the files. Use a new empty destination folder, and check that source and destination are not inside one another.
Preview before copying
From Command Prompt, adapt this example after confirming both paths. Save logs outside the folders being copied:
robocopy "C:\Work\Project" "E:\Transfer\Project" /E /XJ /R:1 /W:1 /L /LOG:"C:\Work\project-preview.log" /TEE
The /L option lists the intended operations without copying, deleting or timestamping files. /E includes empty subfolders; /XJ excludes junction points. The retry options limit repeated attempts. Read the plan and investigate unexpected paths or exclusions before continuing.
For the real copy, remove /L and use a different log filename such as project-copy.log. Keep the other reviewed options unchanged. This example does not use a mirror or move operation; do not add /MIR casually, because mirroring can delete destination items.
Interpret completion and inspect the work
Immediately after the command ends, enter echo %ERRORLEVEL% in that same Command Prompt. Robocopy has several nonzero results that do not mean a copy failure. Microsoft identifies values of 8 or greater as indicating at least one failure.
Read the log’s summary and any failed-file entries regardless of the return code. A low code is not a substitute for understanding mismatches, extras or intentionally excluded junctions. The default file-copy metadata does not make this example a complete security-permission backup.
Open representative destination files, including the largest and most important documents. Confirm that the expected folder structure is present. If failures remain, preserve the source and resolve those exact files before treating the transfer as complete. Keep the reviewed command and final log with the handover record.
Sources: Microsoft Robocopy reference.