HOW-TO

Everything you need to copy files with Robo-XCopy, in about five minutes.

1. Quick start

  1. Download RoboXCopy.exe from the latest release and run it. There is nothing to install.
  2. Choose the SOURCE: click a drive icon, type a path, or press BROWSE. Do the same for the TARGET.
  3. Leave MODE on COPY for a normal copy.
  4. Press DRY RUN. Nothing is copied; the log shows what would happen.
  5. Press START. The two grids show the progress; the status bar names the file being copied.

The exact robocopy command line is the first line of the LOG window, so you can always see (and reuse) what the program ran.

2. The screen

The Robo-XCopy main screen during a copy
The main screen while a copy is running.

Fields

Click a value to change it. Fields with an orange dot toggle; the ones with arrows go up and down by one.

FieldValuesrobocopy
MODECOPY copies and never deletes.
MIRROR makes the target identical to the source, deleting extra files.
MOVE deletes files from the source after copying them.
(none), /MIR, /MOVE
SUBDIRSALL includes subfolders, even empty ones. NONE copies only the top folder. Locked to ALL in MIRROR./E
THREADSHow many files are copied at once. 01 means one at a time. Default 8./MT:n
RETRYHow many times to retry a file that fails. Default 3./R:n
WAITSeconds between retries. Default 2./W:n
ATTRIBSWhat is copied for each file. Shows the flags: DAT (data, attributes, timestamps: robocopy's default), DATS, ALL... Click it to open the COPY BUILDER./COPY:flags, /COPYALL
UPDATEWhich files are selected. ALL = no rule, NEWER = skip files the target already has with the same or a newer date, n RULES = a custom set. Click it to open the COPY BUILDER./XO and others

Gadgets

GadgetWhat it does
STARTRuns the copy with the current settings.
REPEATRuns the previous copy again, with the same settings.
STOPAborts the copy. A file that was being copied may be left half written in the target (see Restartable mode under Filters).
DRY RUNLists what would be copied, deleted or skipped, without touching anything.
FILTERSFile masks, excludes and extra switches. See below.
LOGThe live robocopy output, and where to save a log file.
THEMESwitches between Modern Amiga (blue) and Classic X-Copy (black, silver, green). Your choice is remembered.
HELPA short reminder and links to this page.
RUN AS ADMINRestarts the program with administrator rights. See below.

Copy builder

Robocopy has dozens of switches. The COPY BUILDER lets you pick them with a description next to each one, and shows the exact command it produces. Open it by clicking ATTRIBS or UPDATE, or from the FILTERS window.

The COPY BUILDER window with the copy flags D A T S O U, each with a short description
The COPY BUILDER. Scroll down for the rest of the options and the command preview.
Rules robocopy imposes. /IPG cannot be used with several threads: if you set a pause, Robo-XCopy runs the copy on a single thread (the builder tells you). /XX wins over PURGE and MIRROR, so extra files in the target are then left alone.

Drives, paths and grids

3. Copying safely

MIRROR and MOVE delete files. MIRROR removes from the target everything that is not in the source; MOVE removes from the source everything it has copied. Always press DRY RUN first and read the log.

4. Filters

The FILTERS window holds the less common options.

The FILTERS window with restartable, backup and list-only options and the mask and exclude fields
The FILTERS window.
OptionMeaningrobocopy
Restartable modeLets an interrupted copy of a large file resume. Slower on small files./Z
Backup modeCopies files you can see but not read normally. Needs administrator rights./B
List onlySame as DRY RUN, but stays on until you untick it./L
FilesOnly these files, e.g. *.doc *.txt. Empty means all.(file list)
Excl. filesSkip these files, e.g. *.tmp *.bak./XF
Excl. dirsSkip these folders, e.g. node_modules .git./XD
Extra argsAny other robocopy switches, passed as they are.(raw)

Separate several names with spaces. A name that contains spaces cannot be used in these fields; use a wildcard instead (My*Docs).

5. Log file

Open LOG and use the Log file line at the top.

The LOG window with the log file path, CHOOSE and NONE buttons and the live output
The LOG window: choose where the log file goes.

6. Administrator rights

Robo-XCopy starts as a normal user. Most copies do not need more, and a normal user cannot damage Windows by mistake. You need administrator rights when you:

Security (S) and owner (O) work without admin rights on your own files.

The program helps without nagging you at every start:

The administrator rights window offering to restart as administrator
The administrator rights window.
Network drives and elevation. Windows does not share mapped drive letters (like Z:) between a normal and an elevated program. After restarting as administrator, use the network path (\\server\share\folder) instead of the drive letter.

7. What the result means

When robocopy finishes, the status bar translates its exit code. Codes below 8 are success.

CodeMeaning
0Nothing to copy: source and target already match.
1Files were copied.
2The target has extra files or folders that are not in the source.
4Some files or folders are mismatched.
3, 5, 6, 7A combination of the above (they add up).
8 or moreSome files could not be copied. Check the log.
16Fatal error, nothing was copied (bad path, no access, wrong syntax).

8. Troubleshooting

Windows says "Windows protected your PC"

The program is not digitally signed yet. Press More info, then Run anyway. You can read the source and build it yourself from GitHub, or check where the file comes from (SHA-256 and build attestation, see the code signing policy).

"Source folder does not exist"

Check the path, or pick it with BROWSE. If you restarted as administrator, a mapped drive letter may have disappeared; use the network path.

Some files were not copied: access denied

Use RUN AS ADMIN, then START again. If it still fails, the file may be open in another program.

A drive does not show up

The icons list the first eight drive letters from C: that exist when the program starts. You can always type any path in the field.

Where is my theme choice stored?

In %APPDATA%\RoboXCopy\theme.txt. Delete the file to go back to the default.

What command does it run?

The first line of the LOG window. A typical copy looks like this:

robocopy C:\Users\me\Photos E:\Backup\Photos /E /MT:8 /R:3 /W:2 /NJH /BYTES