Robocopy

Robocopy

Free file copy tool included with Windows OS

Category
File System
License
Windows
Platforms
Windows
Released
1996
Path
c:\robocopy\Robocopy.exe
Benefits
High Performance, Resumable Transfers, Advanced File Selection, Mirroring Capabilities, Logging and Reporting, Multi-threading, and Robust Error Handling
Version
Latest known: 10.0.14393.5717 (2025-07-04)

Examples

1. Take no options, but display the default options

robocopy.exe d:\source d:\destination /QUIT

2. Copy everything in the source, including subdirectories

robocopy.exe d:\source d:\destination /E /DCOPY:DAT /COPY:DAT /R:5 /W:10

3. Mirror the source directory and delet files from the destination if they don't exist in the source

robocopy.exe d:\source d:\destination /MIR /DCOPY:T /COPY:DAT /R:3 /W:5

4. Move everything in the source, including subdirectories. ZB to automaticall resolve issues

robocopy.exe d:\source d:\destination /MOVE /E /COPYALL /DCOPY:DAT /ZB /R:4 /W:7

5. Waits for 5 changes or 10 minutes before copying files from only location to another.

robocopy.exe d:\source d:\destination /E /MON:5 /MOT:10

6. Copy all image JPGs from source to destination

robocopy.exe d:\source d:\destination image_*.jpg

7. Generates a verbose log file with the date included in the filename. Use /TEE switch to also send output to the console.

robocopy.exe d:\source d:\destination /TEE /FP /V /LOG:"d:\Logs\Robocopy_V_Log_%date:~-10,2%"-"%date:~7,2%"-"%date:~-4,4%.txt