Speeding up Copying a directory with 10 million files inside.

Dear all,
I have a directory which contains 10 million files where each file have a size of 1 KB.
So, the directory is not big, but it contains huge number of files.

I want to integrate this folder in my setup package, when doing it, the setup time increases alot due to the huge number of files inside it.
My friend suggested me to make it a zip file. This method worked prefect in decreasing setup time. However after setup, I run a C# software to extract this directory.
This extraction, takes aloooooooooooot time too.
Any idea on how to fix that?
Thx in advanced experts
hassanayoub85Asked:
Who is Participating?
 
motnahp00Commented:
What about robocopy? It is lightning fast.

robocopy <source_directory> <destination_directory> /R:0 /MIR
0
 
hassanayoub85Author Commented:
didn't heard about it, from where to get it?
0
 
motnahp00Commented:
It's native on Vista and up.
0
 
hassanayoub85Author Commented:
i have xp.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.