Windows 7: Multithread File Copy using Robocopy utility

 

Windows 7 has included a neat utility called robocopy. If I remember correctly this was a utility back in Windows Server 2003. This is an advanced copy paste tool 🙂 (lack of term hehe) where you can define options such as copy everything but not empty subdirectories, cool huh?

 

 

But wait, there’s more! in Windows 7, you can copy your files in multi thread! just add the /MT switch and define the number of threads and instant multi threading copy!

 

So to do that, the command syntax is “ROBOCOPY <Directory that will be copied> <New Directory> /MT:<Integer number of threads to use>” just for kicks I used 120 its the maximum thread that we can give and there! instant copy!

 

 


I started to copy 8:46:17 and the command ended 8:46:28. The whole directory is 230.31 MB, now you do the math 😀

Advertisements

Published by

johndelizo

I'm John and in the daytime I am the Chief Technology Officer of VFTS.NET - a consulting firm that specializes on development and deployment of business solutions created with .NET framework on Windows platform and Windows infrastructure projects. I am a core member of the Philippine Windows Users Group, a contributor at the Microsoft Philippines Community forums and I regularly conduct technical sessions as well as other Microsoft technology events. I am a Microsoft Most Valuable Professional in the Cloud and Datacenter Management Technical Expertise but away from any keyboard I spend hours reading books, travel, explore, and being busy with my dog named Floppy.

2 thoughts on “Windows 7: Multithread File Copy using Robocopy utility”

  1. Hello, they say that Wondows 7 has as default robycopy command, but I get the message (after search cmd.exe, option Run as administrator and writing robycopy /?) that “robycopy’ is not recognized as an internal or external command, operable program or batch file”.
    Can you help me?
    Nico Tros

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s