Home > Back-end >  How to copy a folder synchronization to 10 U packing list
How to copy a folder synchronization to 10 U packing list

Time:09-17

Years unused D7, pick up today to develop a small program, folder points program, there is always error

I use thread in operation, the thread calls the SHFileOperation, in multithreaded copying,
There are always some can appear not fixed U disk replication fails,

I am using D7.

Please master action,

CodePudding user response:

Copying files, in addition to the CPU time, what is more important to the operation of the hardware disk and U disk, holding time,
Do not advocate using multithreading operation, in this way, the thread of CPU and disk operation time, not speed up,
To pass the thread operation, proposed a thread, sequential operation,

CodePudding user response:

To identify the usb flash drive?

PS: now you can put such a big points?

CodePudding user response:

Curious how put 10 U disk?

CodePudding user response:

Insert the USB HUB can 10 U disk,

CodePudding user response:

Has been done, it is a reproduction, individual U disk will go wrong, there is always uncertain

CodePudding user response:

Expression: insufficient power supply??

CodePudding user response:

A hub is easy to power outages, especially USB 3.0 devices and mobile hard disk,

CodePudding user response:

Single-threaded sequential copy, copy a will pop up a success, to a certain extent, to avoid the problem of insufficient power supply,
  • Related