Merry Christmas & Happy 2027! Less downtime. More good times. Celebrating 13 years of sorlavit.com
Skip to content
Sorlavit KimIT Support, Network & Infrastructure Services Let’s talk

ปุ่มแปลไทยจะเปิดบทความผ่าน Google Translate เพื่อแปลอัตโนมัติ โดยคงโค้ดและคำสั่งไว้ตามต้นฉบับ

Windows Commands / IT Support Guides

Preview a file copy with robocopy before running it

A large support copy needs predictable source and destination handling. A list-only run helps catch a reversed path or an unexpectedly broad selection.

Compiled for Sorlavit Kim · Published · Updated · 1 min read

Environment and inputs: Windows 11 · Command Prompt unless PowerShell is specified

Try the diagnostic command

Use the stated shell and platform. Replace sample domains, addresses, services and paths with values from the system you are authorized to support.

robocopy "C:\Source" "D:\SupportCopy" /E /L /R:1 /W:1

How to read the result

The /L switch lists the proposed operations without copying. /E includes subdirectories, including empty ones. Robocopy uses several successful or informational exit codes; codes of 8 or higher indicate at least one failure.

What to do next

Check the complete path pair and destination capacity, then remove /L only for an approved copy. Compare file counts and validate representative copied files afterward.

Before you make a change

Replace both example paths. Avoid /MIR unless deletion at the destination is explicitly intended; a copy is not automatically a versioned backup.

Source & further reading

Microsoft Learn — robocopy

Independently written summary reviewed on 2026-11-01. The example illustrates a possible application; it is not a client case study.

Share this article

Back to all articles