Copying a large file from a network drive with an unstable connection

When dealing with an unstable connection to a network folder or drive, copying a large file can become a serious challenge. The other day, after 5 failed attempts, I remembered an old utility that happens to be built right into Windows.

View Post(opens in a new tab)

The utility is called Robocopy. It almost feels like a DOS tool rather than a Windows one—at least its syntax is DOS-like.

It’s a command-line utility with a wide array of options, so knowing how to use it correctly is essential.

The basic syntax looks like this:

robocopy <source> <destination> [<file> [...]] [<options>]

For example:

robocopy Z:\ C:\Tools 100d.mkv /Z /W:5 /R:3

/Z — allows resuming the file copy if the connection drops.

/W:5 /R:3 — waits 5 seconds between retries, attempting up to 3 times.

Another important parameter is /b, even though it isn’t in the example above:

/b — runs the copy in Backup mode, which allows bypassing read/write permission restrictions.

Even if the file fails to save within the specified number of retries, you can simply run the exact same command later, and the copy will resume right where it left off.

Leave a Reply

Your email address will not be published. Required fields are marked *

Let us know you are human: