0% found this document useful (0 votes)
56 views2 pages

Robocopy (Robust File Copy) Is A Command-Line Tool Built Into Windows 10

This document discusses using the Robocopy command to quickly copy large files over a network. Robocopy is a command-line tool in Windows 10 that can migrate files extremely fast. The document provides steps to use Robocopy, including opening Command Prompt as administrator and using a command specifying the source and destination paths, options like copying subdirectories and files in restartable mode, retrying copies, and using multithreaded copying to better utilize bandwidth and significantly speed up the copying process.

Uploaded by

mukskumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views2 pages

Robocopy (Robust File Copy) Is A Command-Line Tool Built Into Windows 10

This document discusses using the Robocopy command to quickly copy large files over a network. Robocopy is a command-line tool in Windows 10 that can migrate files extremely fast. The document provides steps to use Robocopy, including opening Command Prompt as administrator and using a command specifying the source and destination paths, options like copying subdirectories and files in restartable mode, retrying copies, and using multithreaded copying to better utilize bandwidth and significantly speed up the copying process.

Uploaded by

mukskumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Copying Very Large Files with Robocopy over the network

Robocopy (Robust File Copy) is a command-line tool built into Windows 10,


but it’s been around for years, and it’s a powerful and flexible tool to migrate
files extremely fast.

Using Robocopy to quickly copy a lot of files on Windows 10

Once file sharing is configured on the source device, you can proceed to copy the files using
Robocopy from the destination device.

To use Robocopy to copy files fast on Windows 10, use these steps:

1. Open Start.
2. Search for Command Prompt, right-click the top result, and select the Run as
administrator option.
3. Type the following command to copy the files over the network and press Enter:

Example:

Robocopy Command Prompt


In the above command make sure to change the source and destination paths with your
configuration.

Robocopy command options explained


Robocopy has a lot of features that you can use, and in the command shown in this guide,
we’re using the following options to make copy reliable and fast.

/S — Copy subdirectories, but not empty ones.


/E — Copy Subdirectories, including empty ones.
/Z — Copy files in restartable mode.
/ZB — Uses restartable mode, if access denied use backup mode.
/R:5 — Retry 5 times (you can specify a different number, default is 1 million).
/W:5 — Wait 5 seconds before retrying (you can specify a different number, the default is 30
seconds).
/TBD — Wait for sharenames To Be Defined (retry error 67).
/NP — No Progress – don’t display percentage copied.
/V — Produce verbose output, showing skipped files.
/MT:16 — Do multithreaded copies with n threads (default is 8).
Perhaps the most important switch to pay attention is /MT, which is a feature that enables
Robocopy to copy files in multithreaded mode. Typically, when you copy files using File
Explorer, you’re only copying one file at a time, but with multithreaded enabled, you can
copy multiple files at the same time better utilizing the bandwidth and significantly speeding
up the process.

If you don’t set a number when using the /MT switch, then the default number will be 8,
which means that Robocopy will try to copy eight files at the same time, but the tool
supports 1 to 128 threads.

robocopy \\source-device-ip\path\to\share\folder C:\destination-device\path\to\store\files /E /Z /ZB


/R:5 /W:5 /TBD /NP /V /MT:16 /MOVE

/MOVE :: MOVE files AND dirs (delete from source after copying)

You might also like