PeterdeB
asked on
How to copy all contents of a cd(except for two folders) to harddrive superfast?
Hi folks!
What is the fastest function or procedure to copy an entire cd (excluding two folders) to my harddrive?
Currently my code copies the entire cd contents and afterwards it deletes the folders that I didn't want. But since those folders measure up to 130 MB I think I better search for some other workaround ;-)
One assumption >Ā using the windows api for this copying thing and having it display all filenames slows down the copying I reckon? using xxcopy would be faster?
Kind regards,
Peter
The working sample equals 500 points
What is the fastest function or procedure to copy an entire cd (excluding two folders) to my harddrive?
Currently my code copies the entire cd contents and afterwards it deletes the folders that I didn't want. But since those folders measure up to 130 MB I think I better search for some other workaround ;-)
One assumption >Ā using the windows api for this copying thing and having it display all filenames slows down the copying I reckon? using xxcopy would be faster?
Kind regards,
Peter
The working sample equals 500 points
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
if you files are big, then I suggest moving the whole function into a thread. if you also want progress, then you wil have to give up the copyfile function and write one your own and then communicate from the thread to the main app the progress. or just use applicaiton.processmessage s but make sure the user will not click twice on the copy button ;)
ASKER
Kind regards,
Peter ;-)
Ps since the copying is an intensive and lengthy operation, should I use application.processmessage