Goofball
2006-09-27 09:48:28 UTC
Permalink
Can you, please, give some of your ideas for such problem. I need toRaw Message
copy one folder with all files and subfolders in it to a different
folder. I need to make my own progress bars where to show the copy
speed and progresses for file copy and overall process.
I've read the shFileOperation function. Its good, but won't work here.
The only thing that comes to my mind it's using the FindFirstFile and
do the recursive copy of files. Just wanted to ask if there are some
other interesting algorithms for that.
Another question is that I need to show the overall process progress
bar, so I need to determine the folder size before doing the copy
operation. However, determining folder size recursively using
FindFirstFile is kind of time consuming on large folders, so the copy
operation doen't even start for some time. I don't know, maybe there is
some kind of a solution to that?
Thanks in advance.